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

Mailing List Archive: Python: Bugs

[issue7259] Documentation update for operator module

 

 

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


report at bugs

Nov 3, 2009, 9:23 PM

Post #1 of 2 (163 views)
Permalink
[issue7259] Documentation update for operator module

New submission from Gabriel Genellina <gagsl-py2 [at] yahoo>:

This patch fixes some issues with the documentation of the operator
module:

- docstrings for all augmented assignments incorrectly stated, e.g.,
`operator.iadd(a,b)` is the same as `a += b`. The main documentation
shows `a = operator.iadd(a,b)` instead, and that's correct. This patch
updates all affected docstrings in the operator.c module.

- Added +obj to the table of operators.

- Replaced getslice/setslice/delslice examples (deprecated) with their
getitem/setitem/delitem equivalents. This change unfortunately made the
table some characters wider.

Originally reported by Juanjo Conti:
http://permalink.gmane.org/gmane.org.user-groups.python.argentina/28596

----------
assignee: georg.brandl
components: Documentation
files: operator.diff
keywords: patch
messages: 94878
nosy: gagenellina, georg.brandl
severity: normal
status: open
title: Documentation update for operator module
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2
Added file: http://bugs.python.org/file15255/operator.diff

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7259>
_______________________________________
_______________________________________________
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

Nov 3, 2009, 11:38 PM

Post #2 of 2 (149 views)
Permalink
[issue7259] Documentation update for operator module [In reply to]

Georg Brandl <georg [at] python> added the comment:

Thanks, applied in r76105.

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

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7259>
_______________________________________
_______________________________________________
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.