(self, args=None)
| 501 | |
| 502 | class Patcher: |
| 503 | def __init__(self, args=None): |
| 504 | self.exitcode = 0 |
| 505 | self.pythoncapi_compat_added = 0 |
| 506 | self.want_pythoncapi_compat = False |
| 507 | self.operations = None |
| 508 | self.applied_operations = set() |
| 509 | |
| 510 | # Set temporarily by patch() |
| 511 | self._has_pythoncapi_compat = None |
| 512 | self._applied_operations = None |
| 513 | |
| 514 | self._parse_options(args) |
| 515 | |
| 516 | def log(self, msg=''): |
| 517 | print(msg, file=sys.stderr, flush=True) |
nothing calls this directly
no test coverage detected