Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
final.cpython-313.pyc22 linesDownload Raw Back to __pycache__
1�

2x�j���N�SSKJr SSKJrJrJr \"S\\\4S9rS\S\4Sjrg)	�)�FunctionType)�Callable�TypeVar�Union�_WrappedMethod)�bound�method�returnc� �[USS5 U$)aBDecorator to indicate that the decorated method is finalized and cannot be overridden.3The decorator code is executed while loading class. Using this method4should have minimal runtime performance implications.5Currently, only methods with @override are checked.6 7How to use:8from overrides import final9 10class SuperClass(object):11    @final12    def method(self):13      return 214 15class SubClass(SuperClass):16    @override17    def method(self): #causes an error18        return 119 20:raises AssertionError: if there exists a match in sub classes for the method name21:return: method22�	__final__T)�setattr)r	s �UD:\code\apps\devtools\python\user_packages\Python313\site-packages\overrides/final.py�finalrs��,�F�K��&��M�N)�typesr�typingrrrrr�rr�<module>rs:�� �+�+��)��|�X�7M�1N�O���.��^�r
codekingpro/portable-devtools · Team Ai