diff options
Diffstat (limited to 'python/helpers/pycharm_generator_utils/module_redeclarator.py')
-rw-r--r-- | python/helpers/pycharm_generator_utils/module_redeclarator.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/helpers/pycharm_generator_utils/module_redeclarator.py b/python/helpers/pycharm_generator_utils/module_redeclarator.py index 0dbdbb58ac6b..bdffe3ec8e97 100644 --- a/python/helpers/pycharm_generator_utils/module_redeclarator.py +++ b/python/helpers/pycharm_generator_utils/module_redeclarator.py @@ -1009,6 +1009,8 @@ class ModuleRedeclarator(object): self.classes_buf.out(0, txt) txt = create_function() self.classes_buf.out(0, txt) + txt = create_method() + self.classes_buf.out(0, txt) # Fake <type 'namedtuple'> if version[0] >= 3 or (version[0] == 2 and version[1] >= 6): |