]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
added pointer to libimp.tex for __import__ example
authorGuido van Rossum <guido@python.org>
Fri, 7 Jul 1995 22:57:02 +0000 (22:57 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 7 Jul 1995 22:57:02 +0000 (22:57 +0000)
Doc/tut.tex
Doc/tut/tut.tex

index 1822124ece98c59c0bcac6a8d3d34363c35a2e40..cf884c1418bbdf2e1d712d8e96822350edf78e62 100644 (file)
@@ -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:
index 1822124ece98c59c0bcac6a8d3d34363c35a2e40..cf884c1418bbdf2e1d712d8e96822350edf78e62 100644 (file)
@@ -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: