Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Dev

Re: [Python-checkins] cpython: update docstring per the extension package fix, refactor

 

 

Python dev RSS feed   Index | Next | Previous | View Threaded


ericsnowcurrently at gmail

Aug 10, 2012, 3:15 PM

Post #1 of 1 (103 views)
Permalink
Re: [Python-checkins] cpython: update docstring per the extension package fix, refactor

On Fri, Aug 10, 2012 at 2:17 PM, philip.jenvey
<python-checkins [at] python> wrote:
> http://hg.python.org/cpython/rev/e024f6ba5ed8
> changeset: 78487:e024f6ba5ed8
> user: Philip Jenvey <pjenvey [at] underboss>
> 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
_______________________________________________
Python-Dev mailing list
Python-Dev [at] python
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com

Python dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.