mirror of https://github.com/python/cpython
Added warning about ni's obsolescence. Retracted semantic changes
(i.e. when using ni, the old __init__.py semantics prevail!)
This commit is contained in:
parent
593801142e
commit
16221126d6
|
@ -2,6 +2,12 @@
|
|||
\label{module-ni}
|
||||
\bimodindex{ni}
|
||||
|
||||
\strong{Warning: This module is obsolete.} As of Python 1.5a4,
|
||||
package support (with different semantics for \code{__init__} and no
|
||||
support for \code{__domain__} or\code{f__}) is built in the
|
||||
interpreter. The ni module is retained only for backward
|
||||
compatibility.
|
||||
|
||||
The \code{ni} module defines a new importing scheme, which supports
|
||||
packages containing several Python modules. To enable package
|
||||
support, execute \code{import ni} before importing any packages. Importing
|
||||
|
|
|
@ -2,6 +2,12 @@
|
|||
\label{module-ni}
|
||||
\bimodindex{ni}
|
||||
|
||||
\strong{Warning: This module is obsolete.} As of Python 1.5a4,
|
||||
package support (with different semantics for \code{__init__} and no
|
||||
support for \code{__domain__} or\code{f__}) is built in the
|
||||
interpreter. The ni module is retained only for backward
|
||||
compatibility.
|
||||
|
||||
The \code{ni} module defines a new importing scheme, which supports
|
||||
packages containing several Python modules. To enable package
|
||||
support, execute \code{import ni} before importing any packages. Importing
|
||||
|
|
Loading…
Reference in New Issue