commit | ddc3fb573429a40ac7c80088edf25ee19f7a5265 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Nov 25 20:58:13 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Nov 25 20:58:13 1997 +0000 |
tree | 3dfb77939b312d2aca2677b91ae0a7c407a56836 | |
parent | 84cca446f2829b114d472d5b41d0003115cd9382 [diff] |
Apply str() to sys.ps1 or sys.ps2 before using them as a prompt, so you can assign an object whose str() evaluates to the current directory (or whatever).