Issue
So I tried the "evil" thing Ned Deily mentioned in his answer here. Now I have that the type True is now always False. How would I reverse this within the interactive window?
Thing to not do:
True = False
Since True has now been completely overridden with False, there doesn't seem to be an obvious way to back-track. Is there a module that True comes from that I can do something like:
True = <'module'>.True
Solution
You can simply del
your custom name to set it back to the default:
>>> True = False
>>> True
False
>>> del True
>>> True
True
>>>
Answered By - user2555451
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.