(self, name)
| 329 | self._sentinels = {} |
| 330 | |
| 331 | def __getattr__(self, name): |
| 332 | if name == '__bases__': |
| 333 | # Without this help(unittest.mock) raises an exception |
| 334 | raise AttributeError |
| 335 | return self._sentinels.setdefault(name, _SentinelObject(name)) |
| 336 | |
| 337 | def __reduce__(self): |
| 338 | return 'sentinel' |
nothing calls this directly
no test coverage detected