[issue4243] has_key doc could be clearer

Georg Brandl report at bugs.python.org
Sat Nov 1 19:14:32 CET 2008


Georg Brandl <georg at python.org> added the comment:

Forgive me for playing stupid here, but I want to understand English
better. I would fully understand the confusion had the sentence been

"dict.has_key(key) is equivalent to key in d, but it is deprecated."

Terry's and Martin' example sentences are transferable to that. However,
the actual sentence was

"dict.has_key(key) is equivalent to key in d, but deprecated."

Let me try to construct a similar sentence:

"Guido was once a colleague of Joe, but much smarter."

Can the "but" clause really be taken as referring to Joe? Or is it
simply not an English sentence? ;)

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4243>
_______________________________________


More information about the Python-bugs-list mailing list