Fixed 'int.from_bytes' skeleton (PY-8417)

This commit is contained in:
Andrey Vlasovskikh
2013-01-22 19:57:44 +04:00
parent 9003881816
commit e875fea041
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -24,7 +24,7 @@ but seemingly no one uses them in C extensions yet anyway.
# * re.search-bound, ~30% time, in likes of builtins and _gtk with complex docstrings.
# None of this can seemingly be easily helped. Maybe there's a simpler and faster parser library?
VERSION = "1.118" # Must be a number-dot-number string, updated with each change that affects generated skeletons
VERSION = "1.119" # Must be a number-dot-number string, updated with each change that affects generated skeletons
# Note: DON'T FORGET TO UPDATE!
import sys
@@ -1141,6 +1141,7 @@ class ModuleRedeclarator(object):
("bytes", "fromhex"): "classmethod",
("bytearray", "maketrans"): "staticmethod",
("bytes", "maketrans"): "staticmethod",
("int", "from_bytes"): "classmethod",
}
def isSkippedInModule(self, p_module, p_value):
+1 -1
View File
@@ -6,7 +6,7 @@
(default) 1.92 # anything not explicitly marked
(built-in) 1.118 # skeletons of all built-in modules are built together
(built-in) 1.119 # skeletons of all built-in modules are built together
# Note: modules like itertools, etc are "(built-in)" and are ignored if given separately
_fileio 1.101