[issue25735] math.factorial doc should mention integer return type

2015-12-01 Thread Sonali Gupta

Sonali Gupta added the comment:

States that math.factorial(x) returns x factorial as an integer.

--
keywords: +patch
nosy: +mine0901
Added file: http://bugs.python.org/file41206/bug.patch

___
Python tracker 
<http://bugs.python.org/issue25735>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25909] Incorrect documentation for PyMapping_Items and like

2015-12-20 Thread Sonali Gupta

Sonali Gupta added the comment:

The documentation now says that On success, return a list, a tuple or a 
dictionary view for PyMapping_Items, PyMapping_Values and PyMapping_Keys.

--
keywords: +patch
nosy: +mine0901
Added file: http://bugs.python.org/file41372/bug.patch

___
Python tracker 
<http://bugs.python.org/issue25909>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25909] Incorrect documentation for PyMapping_Items and like

2015-12-20 Thread Sonali Gupta

Sonali Gupta added the comment:

Should the sentence be removed completely?
> This is equivalent to the Python expression ``list(o.keys())``.

comments in Include/abstract.h are not absolutely correct too so should 
dictionary view be included in the return of PyMapping_Values, PyMapping_Keys 
and PyMapping_Items ??

--

___
Python tracker 
<http://bugs.python.org/issue25909>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25909] Incorrect documentation for PyMapping_Items and like

2016-01-01 Thread Sonali Gupta

Sonali Gupta added the comment:

The documentation in mapping.rst and the comments in abstract.h have been 
changed for PyMapping_Items, PyMapping_Keys and PyMapping_Values.

--
Added file: http://bugs.python.org/file41472/bug.patch

___
Python tracker 
<http://bugs.python.org/issue25909>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com