(obj, method_name)
| 468 | raise TypeError("int_as_string_bitcount must be a positive integer") |
| 469 | |
| 470 | def call_method(obj, method_name): |
| 471 | method = getattr(obj, method_name, None) |
| 472 | if callable(method): |
| 473 | try: |
| 474 | return (method(),) |
| 475 | except TypeError: |
| 476 | pass |
| 477 | return None |
| 478 | |
| 479 | def _encode_int(value): |
| 480 | skip_quoting = ( |
no outgoing calls
no test coverage detected
searching dependent graphs…