Searched refs:__final__ (Results 1 - 2 of 2) sorted by relevance
/third_party/python/Lib/test/ |
H A D | test_typing.py | 4381 self.assertIs(True, func.__final__) 4382 self.assertIs(True, Cls.__final__) 4397 self.assertIs(False, hasattr(wrapped, "__final__")) 4401 def __final__(self): return "can't set me" member in FinalDecoratorTests.test_dunder_final.Meta 4404 self.assertEqual(WithMeta.__final__, "can't set me") 4409 self.assertIs(False, hasattr(int, "__final__")) 4432 # underlying function, which doesn't have __final__. 4435 inspect.getattr_static(Methods, "clsmethod").__final__ 4439 inspect.getattr_static(Methods, "stmethod").__final__ 4441 self.assertIs(True, Methods.prop.fget.__final__) [all...] |
/third_party/python/Lib/ |
H A D | typing.py | 2640 attempts to set the ``__final__`` attribute to ``True`` on the decorated 2644 f.__final__ = True
|
Completed in 23 milliseconds