[issue29749] Outdated int() docstring

2017-03-24 Thread Brett Cannon

Brett Cannon added the comment:


New changeset 390a0969c1206a37c86961ebf7ef3050681ed8dd by Brett Cannon 
(svelankar) in branch 'master':
bpo-29749: Update int() docstring (GH-565)
https://github.com/python/cpython/commit/390a0969c1206a37c86961ebf7ef3050681ed8dd


--

___
Python tracker 

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



[issue29749] Outdated int() docstring

2017-03-08 Thread Brett Cannon

Changes by Brett Cannon :


--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker 

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



[issue29749] Outdated int() docstring

2017-03-08 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

After converting int.__new__() to Argument Clinic this issue will become 
outdated.

--

___
Python tracker 

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



[issue29749] Outdated int() docstring

2017-03-08 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
nosy: +brett.cannon

___
Python tracker 

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



[issue29749] Outdated int() docstring

2017-03-08 Thread svelankar

svelankar added the comment:

True, but the docstring says "return 0 if no arguments are given". So please 
let me know, if you want me to still change it i.e. add int() or keep it as it 
is. Thanks.

--

___
Python tracker 

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



[issue29749] Outdated int() docstring

2017-03-08 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

int() can be called without argument.

--

___
Python tracker 

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



[issue29749] Outdated int() docstring

2017-03-08 Thread Roundup Robot

Changes by Roundup Robot :


--
pull_requests: +464

___
Python tracker 

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



[issue29749] Outdated int() docstring

2017-03-08 Thread svelankar

svelankar added the comment:

int docstring is the only one that needs to be changed. docstrings for 
float,tuple and list look fine to me.

--
nosy: +svelankar

___
Python tracker 

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



[issue29749] Outdated int() docstring

2017-03-07 Thread STINNER Victor

New submission from STINNER Victor:

bpo-29695 removed "bad keyword parameters in int(), bool(), float(), list() and 
tuple()", but int docstring (at least) is now outdated:

haypo@selma$ ./python
Python 3.7.0a0 (master:8f6b344d368c15c3fe56c65c2f2776e7766fef55, Mar  7 >>> 
help(int)
class int(object)
 |  int(x=0) -> integer
 |  int(x, base=10) -> integer
 ...
>>> int(x=0)
TypeError: 'x' is an invalid keyword argument for this function

--
messages: 289163
nosy: haypo, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Outdated int() docstring
versions: Python 3.7

___
Python tracker 

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