Commits

Brodie Rao committed 60086a0

pythonrc: work around a bug in an older version of pypy (i think)

Comments (0)

Files changed (1)

 
 if __name__ == '__main__':
     __doc__ = None
-    del __file__
+    if '__file__' in globals():
+        del __file__
 
     # Make sure modules in the current directory can't interfere
     import sys