blueloveTH 2 年 前
コミット
05678df95d
1 ファイル変更3 行追加0 行削除
  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__ + "'>"