(self, encoding)
| 831 | self._imp_table[name] = imp |
| 832 | |
| 833 | def rawmethod(self, encoding): |
| 834 | encoding = ensure_bytes(encoding) |
| 835 | typecodes = parse_type_encoding(encoding) |
| 836 | typecodes.insert(1, b'@:') |
| 837 | encoding = b''.join(typecodes) |
| 838 | |
| 839 | def decorator(f): |
| 840 | name = f.__name__.replace('_', ':') |
| 841 | self.add_method(f, name, encoding) |
| 842 | return f |
| 843 | return decorator |
| 844 | |
| 845 | def method(self, encoding): |
| 846 | encoding = ensure_bytes(encoding) |
nothing calls this directly
no test coverage detected