GMime.FilterDos2Unix¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
ensure_newline |
r |
|
|
parent_object |
r |
parent |
|
pc |
r |
the previous character encountered |
Class Details¶
- class GMime.FilterDos2Unix(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A filter to convert a stream from Windows/DOS line endings to Unix line endings.
- classmethod new(ensure_newline)¶
- Parameters:
ensure_newline (
bool
) –True
if the filter should ensure that the stream ends in a new line- Returns:
a new
GMime.FilterDos2Unix
filter.- Return type:
Creates a new
GMime.FilterDos2Unix
filter.