diff options
author | Guido van Rossum <guido@python.org> | 1995-07-07 22:57:02 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-07-07 22:57:02 (GMT) |
commit | abfa2cae9f17f1a2a7be8d1c5328ccb9cdcd5ef1 (patch) | |
tree | 197d2d0c33ceb8f61e676743a3c2e1a957052c9f /Doc | |
parent | 0bf8475108f4ef1d4c150b82e76cded5b79f9a0b (diff) | |
download | cpython-abfa2cae9f17f1a2a7be8d1c5328ccb9cdcd5ef1.zip cpython-abfa2cae9f17f1a2a7be8d1c5328ccb9cdcd5ef1.tar.gz cpython-abfa2cae9f17f1a2a7be8d1c5328ccb9cdcd5ef1.tar.bz2 |
added pointer to libimp.tex for __import__ example
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/tut.tex | 3 | ||||
-rw-r--r-- | Doc/tut/tut.tex | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Doc/tut.tex b/Doc/tut.tex index 1822124..cf884c1 100644 --- a/Doc/tut.tex +++ b/Doc/tut.tex @@ -3474,7 +3474,8 @@ is executed. There's a built-in function \code{__import__} which provides the default implementation, but more interesting, the various steps it takes are available separately from the new built-in module \code{imp}. (See the section on \code{imp} in the Library Reference -Manual for more information on this module.) +Manual for more information on this module -- it also contains a +complete example of how to write your own \code{__import__} function.) When you do \code{dir()} in a fresh interactive interpreter you will see another ``secret'' object that's present in every module: diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index 1822124..cf884c1 100644 --- a/Doc/tut/tut.tex +++ b/Doc/tut/tut.tex @@ -3474,7 +3474,8 @@ is executed. There's a built-in function \code{__import__} which provides the default implementation, but more interesting, the various steps it takes are available separately from the new built-in module \code{imp}. (See the section on \code{imp} in the Library Reference -Manual for more information on this module.) +Manual for more information on this module -- it also contains a +complete example of how to write your own \code{__import__} function.) When you do \code{dir()} in a fresh interactive interpreter you will see another ``secret'' object that's present in every module: |