New submission from Devin Jeanpierre:

I was slightly misled by the wording of part of the docs 
(http://docs.python.org/lib/bltin-file-objects.html):
"file() is new in Python 2.2. The older built-in open() is an alias 
for file()."

I actually thought it meant that open was an alias of file, so 
that 'open is file'. However, 
>>> open is file
False

I feel that "alias" is the wrong word to use here, though I don't know 
a suitable replacement.

----------
components: Documentation
messages: 59007
nosy: Devin Jeanpierre
severity: minor
status: open
title: Word "alias" used in confusing way to compare open() and file()
type: rfe

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1702>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to