From e875fea0419ece1be2fb8c1fda0e18b0f2d1802b Mon Sep 17 00:00:00 2001 From: Andrey Vlasovskikh Date: Tue, 22 Jan 2013 19:57:44 +0400 Subject: [PATCH] Fixed 'int.from_bytes' skeleton (PY-8417) --- python/helpers/generator3.py | 3 ++- python/helpers/required_gen_version | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/python/helpers/generator3.py b/python/helpers/generator3.py index 4d222cbbbee2..45a232e2c779 100644 --- a/python/helpers/generator3.py +++ b/python/helpers/generator3.py @@ -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): diff --git a/python/helpers/required_gen_version b/python/helpers/required_gen_version index 38b647860b9c..60a0acc91889 100644 --- a/python/helpers/required_gen_version +++ b/python/helpers/required_gen_version @@ -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