Mercurial > cpython-lru_cache-weakref
comparison Python/sysmodule.c @ 44368:32dd9b7773c3
Fix thoroughly misleading comment
| author | Nick Coghlan <ncoghlan@gmail.com> |
|---|---|
| date | Fri, 21 Dec 2007 07:31:17 +0000 |
| parents | 303727c58b51 |
| children | fb5a6330f71b |
comparison
equal
deleted
inserted
replaced
| 44366:83ced4177eac | 44368:32dd9b7773c3 |
|---|---|
| 1023 PySys_WriteStderr("Python error: <stdin> is a directory, cannot continue\n"); | 1023 PySys_WriteStderr("Python error: <stdin> is a directory, cannot continue\n"); |
| 1024 exit(EXIT_FAILURE); | 1024 exit(EXIT_FAILURE); |
| 1025 } | 1025 } |
| 1026 } | 1026 } |
| 1027 | 1027 |
| 1028 /* stdin/stdout/stderr are now set by site.py. */ | 1028 /* stdin/stdout/stderr are now set by pythonrun.c */ |
| 1029 | 1029 |
| 1030 PyDict_SetItemString(sysdict, "__displayhook__", | 1030 PyDict_SetItemString(sysdict, "__displayhook__", |
| 1031 PyDict_GetItemString(sysdict, "displayhook")); | 1031 PyDict_GetItemString(sysdict, "displayhook")); |
| 1032 PyDict_SetItemString(sysdict, "__excepthook__", | 1032 PyDict_SetItemString(sysdict, "__excepthook__", |
| 1033 PyDict_GetItemString(sysdict, "excepthook")); | 1033 PyDict_GetItemString(sysdict, "excepthook")); |
