boolean - How do I undo True = False in python interactive mode? -
this question has answer here:
- naming conflict built-in function 7 answers
so tried "evil" thing ned deily mentioned in answer here. have type true false. how reverse within interactive window?
thing not do:
true = false
since true has been overridden false, there doesn't seem obvious way back-track. there module true comes can like:
true = <'module'>.true
you can del
custom name set default:
>>> true = false >>> true false >>> del true >>> true true >>>
Comments
Post a Comment