Mercurial > cpython-lru_cache-weakref
comparison Python/future.c @ 44568:305d7d2ce047
Copied doc for reload() from trunk's function.rst to imp.rst
| author | Christian Heimes <christian@cheimes.de> |
|---|---|
| date | Mon, 07 Jan 2008 17:19:16 +0000 |
| parents | 302aeee32da8 |
| children | 91ac8049e709 |
comparison
equal
deleted
inserted
replaced
| 44567:cdc285bd0efb | 44568:305d7d2ce047 |
|---|---|
| 63 if (!(mod->kind == Module_kind || mod->kind == Interactive_kind)) | 63 if (!(mod->kind == Module_kind || mod->kind == Interactive_kind)) |
| 64 return 1; | 64 return 1; |
| 65 | 65 |
| 66 /* A subsequent pass will detect future imports that don't | 66 /* A subsequent pass will detect future imports that don't |
| 67 appear at the beginning of the file. There's one case, | 67 appear at the beginning of the file. There's one case, |
| 68 however, that is easier to handl here: A series of imports | 68 however, that is easier to handle here: A series of imports |
| 69 joined by semi-colons, where the first import is a future | 69 joined by semi-colons, where the first import is a future |
| 70 statement but some subsequent import has the future form | 70 statement but some subsequent import has the future form |
| 71 but is preceded by a regular import. | 71 but is preceded by a regular import. |
| 72 */ | 72 */ |
| 73 | 73 |
