[Python-Dev] [Python-checkins] cpython: update docstring per the extension package fix, refactor
Eric Snow
ericsnowcurrently at gmail.com
Sat Aug 11 00:15:27 CEST 2012
On Fri, Aug 10, 2012 at 2:17 PM, philip.jenvey
<python-checkins at python.org> wrote:
> http://hg.python.org/cpython/rev/e024f6ba5ed8
> changeset: 78487:e024f6ba5ed8
> user: Philip Jenvey <pjenvey at underboss.org>
> date: Fri Aug 10 11:53:54 2012 -0700
> summary:
> update docstring per the extension package fix, refactor
>
> files:
> Lib/importlib/_bootstrap.py | 9 +-
> Python/importlib.h | 3353 +++++++++++-----------
> 2 files changed, 1685 insertions(+), 1677 deletions(-)
>
>
> diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py
> --- a/Lib/importlib/_bootstrap.py
> +++ b/Lib/importlib/_bootstrap.py
> @@ -1102,13 +1102,10 @@
> raise
>
> def is_package(self, fullname):
> - """Return False as an extension module can never be a package."""
> + """Return if the extension module is a package."""
s/Return if/Return True if/
-eric
More information about the Python-Dev
mailing list