mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
...
This commit is contained in:
parent
5cec2846ca
commit
05678df95d
@ -195,6 +195,9 @@ class staticmethod:
|
|||||||
|
|
||||||
def __get__(self, obj):
|
def __get__(self, obj):
|
||||||
return self.f
|
return self.f
|
||||||
|
|
||||||
|
def __call__(self, *args):
|
||||||
|
return self.f(*args)
|
||||||
|
|
||||||
def type::__repr__(self):
|
def type::__repr__(self):
|
||||||
return "<class '" + self.__name__ + "'>"
|
return "<class '" + self.__name__ + "'>"
|
Loading…
x
Reference in New Issue
Block a user