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/2004-July/045949.html below:

[Python-Dev] file() or open()?

[Python-Dev] file() or open()? [Python-Dev] file() or open()?Robert Brewer fumanchu at amor.org
Wed Jul 7 19:49:49 CEST 2004
I think Skip wrote:
> Yes, but has others have pointed out, the current documentation
> seems to suggest that file() is preferred to open().

While you're at it, the docstring for open could use the same treatment.
In 2.3.2, it starts with: "file(name[, mode[, buffering]])" and ends
with "open() is an alias for file()." The first implies that file() is
preferred, in my mind.


Robert Brewer
MIS
Amor Ministries
fumanchu at amor.org
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