how you would do this, see the standard library modules \code{ni},
\code{ihooks} and \code{rexec}. See also the built-in module
\code{imp}, which defines some useful operations out of which you can
-build your own \code{__import__} function.
+build your own \code{__import__()} function.
\stindex{import}
-\stmodindex{ni}
-\stmodindex{ihooks}
-\stmodindex{rexec}
-\bimodindex{imp}
+\refstmodindex{ni}
+\refstmodindex{ihooks}
+\refstmodindex{rexec}
+\refbimodindex{imp}
For example, the statement \code{import spam} results in the following
call:
Return the type of an \var{object}. The return value is a type
object. The standard module \code{types} defines names for all
built-in types.
-\stmodindex{types}
+\refstmodindex{types}
\obindex{type}
For instance:
This module defines the symbolic constants required to use the
\code{termios} module (see the previous section). See the Posix or
\UNIX{} manual pages (or the source) for a list of those constants.
+\refbimodindex{termios}
Note: this module resides in a system-dependent subdirectory of the
Python library directory. You may have to generate it for your
how you would do this, see the standard library modules \code{ni},
\code{ihooks} and \code{rexec}. See also the built-in module
\code{imp}, which defines some useful operations out of which you can
-build your own \code{__import__} function.
+build your own \code{__import__()} function.
\stindex{import}
-\stmodindex{ni}
-\stmodindex{ihooks}
-\stmodindex{rexec}
-\bimodindex{imp}
+\refstmodindex{ni}
+\refstmodindex{ihooks}
+\refstmodindex{rexec}
+\refbimodindex{imp}
For example, the statement \code{import spam} results in the following
call:
Return the type of an \var{object}. The return value is a type
object. The standard module \code{types} defines names for all
built-in types.
-\stmodindex{types}
+\refstmodindex{types}
\obindex{type}
For instance:
This module defines the symbolic constants required to use the
\code{termios} module (see the previous section). See the Posix or
\UNIX{} manual pages (or the source) for a list of those constants.
+\refbimodindex{termios}
Note: this module resides in a system-dependent subdirectory of the
Python library directory. You may have to generate it for your