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)
| 1026 | return lookup(encoding).streamreader |
| 1027 | |
| 1028 | def getwriter(encoding): |
| 1029 | |
| 1030 | """ Lookup up the codec for the given encoding and return |
| 1031 | its StreamWriter class or factory function. |
| 1032 | |
| 1033 | Raises a LookupError in case the encoding cannot be found. |
| 1034 | |
| 1035 | """ |
| 1036 | return lookup(encoding).streamwriter |
| 1037 | |
| 1038 | def iterencode(iterator, encoding, errors='strict', **kwargs): |
| 1039 | """ |