Kaydet (Commit) 16221126 authored tarafından Guido van Rossum's avatar Guido van Rossum

Added warning about ni's obsolescence. Retracted semantic changes

(i.e. when using ni, the old __init__.py semantics prevail!)
üst 59380114
...@@ -2,6 +2,12 @@ ...@@ -2,6 +2,12 @@
\label{module-ni} \label{module-ni}
\bimodindex{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 The \code{ni} module defines a new importing scheme, which supports
packages containing several Python modules. To enable package packages containing several Python modules. To enable package
support, execute \code{import ni} before importing any packages. Importing support, execute \code{import ni} before importing any packages. Importing
......
...@@ -2,6 +2,12 @@ ...@@ -2,6 +2,12 @@
\label{module-ni} \label{module-ni}
\bimodindex{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 The \code{ni} module defines a new importing scheme, which supports
packages containing several Python modules. To enable package packages containing several Python modules. To enable package
support, execute \code{import ni} before importing any packages. Importing support, execute \code{import ni} before importing any packages. Importing
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment