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/2004-March/043266.html below:

[Python-Dev] (class) module names clarification

[Python-Dev] (class) module names clarification [Python-Dev] (class) module names clarificationGuido van Rossum guido at python.org
Thu Mar 18 18:58:11 EST 2004
> The whole point of StringIO is its class.  So if it were rewritten
> in modern style, a user would write:
> 
> 	from userlist import UserList
> 	from stringio import StringIO
> 
> Is this correct?

For example, although perhaps better module names could be found.

This would eliminate a whole class of errors where one writes code
assuming the import had the form "import StringIO" but it was actually
"from StringIO import StringIO"; or vice versa.

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

More information about the Python-Dev mailing list

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