Skip to content

Commit

Permalink
Merge pull request #11185 from gpotter2/spec-missing
Browse files Browse the repository at this point in the history
Add __spec__ to DummyMod
  • Loading branch information
minrk committed Jun 13, 2018
2 parents 4235328 + a59c508 commit 114f100
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 114f100

Please sign in to comment.