Mercurial > cpython-lru_cache-weakref
comparison Lib/idlelib/PyShell.py @ 74696:89b699e68fa2 3.2
whitespace
| author | Terry Jan Reedy <tjreedy@udel.edu> |
|---|---|
| date | Tue, 31 Jan 2012 02:57:29 -0500 |
| parents | 1993aa091d89 |
| children | a95b19b3b4cd bf31815548c9 |
comparison
equal
deleted
inserted
replaced
| 74693:1993aa091d89 | 74696:89b699e68fa2 |
|---|---|
| 492 if with_cwd: # Issue 13506 | 492 if with_cwd: # Issue 13506 |
| 493 path = [''] # include Current Working Directory | 493 path = [''] # include Current Working Directory |
| 494 path.extend(sys.path) | 494 path.extend(sys.path) |
| 495 else: | 495 else: |
| 496 path = sys.path | 496 path = sys.path |
| 497 | 497 |
| 498 self.runcommand("""if 1: | 498 self.runcommand("""if 1: |
| 499 import sys as _sys | 499 import sys as _sys |
| 500 _sys.path = %r | 500 _sys.path = %r |
| 501 del _sys | 501 del _sys |
| 502 \n""" % (path,)) | 502 \n""" % (path,)) |
