Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue14783] Update int() docstring from manual

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

May 11, 2012, 8:50 AM

Post #1 of 3 (56 views)
Permalink
[issue14783] Update int() docstring from manual

New submission from Terry J. Reedy <tjreedy [at] udel>:

int.__doc__ starts "int(x[, base]) -> integer". That is not exactly correct as x is not required and base is only allowed if x is a string. The 3.3 manual fixes both problems with "int([number | string[, base]])"

I actually think the rest of the docstring might be replaced with the more accurate and informative manual entry. It might be condensed, but I am not sure what might be omitted.

----------
keywords: easy
messages: 160416
nosy: terry.reedy
priority: low
severity: normal
status: open
title: Update int() docstring from manual
versions: Python 3.2, Python 3.3

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue14783>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

May 11, 2012, 10:42 AM

Post #2 of 3 (49 views)
Permalink
[issue14783] Update int() docstring from manual [In reply to]

Changes by Tshepang Lekhonkhobe <tshepang [at] gmail>:


----------
assignee: -> docs [at] pytho
components: +Documentation
nosy: +docs [at] pytho, tshepang

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue14783>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

May 16, 2012, 2:07 PM

Post #3 of 3 (45 views)
Permalink
[issue14783] Update int() docstring from manual [In reply to]

Changes by Ezio Melotti <ezio.melotti [at] gmail>:


----------
assignee: docs [at] pytho ->
nosy: +ezio.melotti
stage: -> needs patch
type: -> enhancement

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue14783>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.