Show More
@@ -142,7 +142,7 b' class FunctionMaker(object):' | |||||
142 | func.__defaults__ = getattr(self, 'defaults', ()) |
|
142 | func.__defaults__ = getattr(self, 'defaults', ()) | |
143 | func.__kwdefaults__ = getattr(self, 'kwonlydefaults', None) |
|
143 | func.__kwdefaults__ = getattr(self, 'kwonlydefaults', None) | |
144 | func.__annotations__ = getattr(self, 'annotations', None) |
|
144 | func.__annotations__ = getattr(self, 'annotations', None) | |
145 |
# FIXED: The following is try/ex |
|
145 | # FIXED: The following is try/excepted in IPython to work | |
146 | # with IronPython. |
|
146 | # with IronPython. | |
147 | try: |
|
147 | try: | |
148 | callermodule = sys._getframe(3).f_globals.get('__name__', '?') |
|
148 | callermodule = sys._getframe(3).f_globals.get('__name__', '?') |
General Comments 0
You need to be logged in to leave comments.
Login now