blueloveTH 3 anos atrás
pai
commit
05678df95d
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3 0
      python/builtins.py

+ 3 - 0
python/builtins.py

@@ -195,6 +195,9 @@ class staticmethod:
 
     def __get__(self, obj):
         return self.f
+
+    def __call__(self, *args):
+        return self.f(*args)
     
 def type::__repr__(self):
     return "<class '" + self.__name__ + "'>"