[docs] missing info for the documentation of set.add()
Ioannis Tziakos
mail at itziakos.gr
Tue Apr 12 17:09:28 CEST 2011
Hi All,
I have noticed that there is a difference in the current documentation for
python 2.7.1 and
the doc-string of set.add().
The documentation (http://docs.python.org/library/stdtypes.html#set) reads
--------
add(elem)
Add element elem to the set.
--------
While python 2.7.1 doc string provides additional info
--------
Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit
(Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> help(set.add)
Help on method_descriptor:
add(...)
Add an element to a set.
This has no effect if the element is already present.
>>>
--------
Regards,
Ioannis Tziakos
More information about the docs
mailing list