A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-December/030680.html below:

[Python-Dev] New universal import mechanism ( Re: [Python-checkins] python/dist/src/Python import.c,2.210,2.211)

[Python-Dev] New universal import mechanism ( Re: [Python-checkins] python/dist/src/Python import.c,2.210,2.211)Jeff Epler jepler@unpythonic.net
Tue, 3 Dec 2002 10:08:28 -0600
small change to example code

On Tue, Dec 03, 2002 at 10:03:09AM -0600, Jeff Epler wrote:
> and David's __export__ being about like this:
> 
>     def __export__(exporter, importer, names):
>         for name in names:
>             attr = getattr(exporter, name)
>             if isinstance(attr, Multimethod):
-                 merge_one_multimethod(exporter, name, attr)
+                 merge_one_multimethod(importer, name, attr)
>             else:
>                 setattr(exporter, name, attr)



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