Lookup up the codec for the given encoding and return its decoder function. Raises a LookupError in case the encoding cannot be found.
(encoding)
| 983 | return lookup(encoding).encode |
| 984 | |
| 985 | def getdecoder(encoding): |
| 986 | |
| 987 | """ Lookup up the codec for the given encoding and return |
| 988 | its decoder function. |
| 989 | |
| 990 | Raises a LookupError in case the encoding cannot be found. |
| 991 | |
| 992 | """ |
| 993 | return lookup(encoding).decode |
| 994 | |
| 995 | def getincrementalencoder(encoding): |
| 996 |
nothing calls this directly
no test coverage detected
searching dependent graphs…