mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
...
This commit is contained in:
parent
5cec2846ca
commit
05678df95d
@ -196,5 +196,8 @@ 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