(o, stream, *, use_bin_type=USE_BIN_TYPE, unicode_errors=UNICODE_ERRORS, **kwargs)
| 115 | |
| 116 | |
| 117 | def pack(o, stream, *, use_bin_type=USE_BIN_TYPE, unicode_errors=UNICODE_ERRORS, **kwargs): |
| 118 | assert unicode_errors == UNICODE_ERRORS |
| 119 | try: |
| 120 | return mp_pack(o, stream, use_bin_type=use_bin_type, unicode_errors=unicode_errors, **kwargs) |
| 121 | except Exception as e: |
| 122 | raise PackException(e) |
| 123 | |
| 124 | |
| 125 | class Unpacker(mp_Unpacker): |
nothing calls this directly
no test coverage detected