A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2001-January/011919.html below:

[Python-Dev] how to test my __all__ lists?

[Python-Dev] how to test my __all__ lists? [Python-Dev] how to test my __all__ lists?Guido van Rossum guido@digicool.com
Sat, 20 Jan 2001 12:38:38 -0500
> How do I test the __all__ lists I'm building?  I'm worried about a couple
> things:
> 
>     1. I may have typos

Do "from M import *" -- this will raise an AttributeError if there's
something in __all__ that's not defined in the module.

>     2. I may leave something out of a list that should be imported by
>        from-module-import-*.

That's what alpha-testing's for.

--Guido van Rossum (home page: http://www.python.org/~guido/)



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4