Skip to content

Commit

Permalink
Add __spec__ to DummyMod
Browse files Browse the repository at this point in the history
  • Loading branch information
gpotter2 committed Jun 12, 2018
1 parent 2284ccf commit a59c508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IPython/core/interactiveshell.py
Expand Up @@ -170,7 +170,7 @@ def validate(self, obj, value):
class DummyMod(object):
"""A dummy module used for IPython's interactive module when
a namespace must be assigned to the module's __dict__."""
pass
__spec__ = None


class ExecutionInfo(object):
Expand Down

0 comments on commit a59c508

Please sign in to comment.