(self, name)
| 303 | self._sentinels = {} |
| 304 | |
| 305 | def __getattr__(self, name): |
| 306 | if name == '__bases__': |
| 307 | # Without this help(unittest.mock) raises an exception |
| 308 | raise AttributeError |
| 309 | return self._sentinels.setdefault(name, _SentinelObject(name)) |
| 310 | |
| 311 | def __reduce__(self): |
| 312 | return 'sentinel' |
nothing calls this directly
no test coverage detected