[pycopia] r742 committed - Fix small bug here.

1 view
Skip to first unread message

pyc...@googlecode.com

unread,
Mar 3, 2014, 3:28:06 PM3/3/14
to pyc...@googlegroups.com
Revision: 742
Author: keith.dart
Date: Mon Mar 3 20:28:00 2014 UTC
Log: Fix small bug here.

http://code.google.com/p/pycopia/source/detail?r=742

Modified:
/trunk/core/pycopia/interactive.py

=======================================
--- /trunk/core/pycopia/interactive.py Wed Jan 9 11:22:22 2013 UTC
+++ /trunk/core/pycopia/interactive.py Mon Mar 3 20:28:00 2014 UTC
@@ -157,9 +157,10 @@
def mydisplayhook(obj):
pprint(obj)
setattr(sys.modules["__main__"], "_", obj)
+sys.displayhook = mydisplayhook
setattr(sys.modules["__main__"], "_", None)

-sys.displayhook = mydisplayhook
+

# Add some functions useful for interactive use to builtins.
# This is done to provide better interactive functionality without
Reply all
Reply to author
Forward
0 new messages