l.t.i.t.IExportedTranslationFile(Interface) : interface documentation

Part of lp.translations.interfaces.translationexporter View In Hierarchy

Exported translation file data.
TextLine content_type Undocumented
TextLine path Undocumented
TextLine file_extension Undocumented
Int size Undocumented
Method read Read at most size bytes from the file.
Method close Close the file.
content_type =
Undocumented
path =
Undocumented
file_extension =
Undocumented
size =
Undocumented
def read(size=None):
Read at most size bytes from the file.
ParameterssizeSize of the read buffer. If the size argument is negative or omitted, read all data until EOF is reached.
RaisesValueErrorIf the file is closed.
def close():
Close the file.

A closed file cannot be read any more. Calling close() more than once is allowed.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.