Lookup up the codec for the given encoding and return its StreamWriter class or factory function. Raises a LookupError in case the encoding cannot be found.
(encoding)
| 1031 | return lookup(encoding).streamreader |
| 1032 | |
| 1033 | def getwriter(encoding): |
| 1034 | |
| 1035 | """ Lookup up the codec for the given encoding and return |
| 1036 | its StreamWriter class or factory function. |
| 1037 | |
| 1038 | Raises a LookupError in case the encoding cannot be found. |
| 1039 | |
| 1040 | """ |
| 1041 | return lookup(encoding).streamwriter |
| 1042 | |
| 1043 | def iterencode(iterator, encoding, errors='strict', **kwargs): |
| 1044 | """ |
nothing calls this directly
no test coverage detected
searching dependent graphs…