Terry Jan Reedy
f0f09b9470
Issue #23006 : Improve the documentation and indexing of dict.__missing__.
...
Add an entry in the language datamodel special methods section.
Revise and index its discussion in the stdtypes mapping/dict section.
Backport the code example from 3.4.
2014-12-10 18:38:07 -05:00
Georg Brandl
34d1597bb7
#22613 : fix several factual errors in builtin docs (thanks Jacques Ducasse)
2014-10-31 09:41:46 +01:00
Serhiy Storchaka
ea217728c3
Issue #20643 : Fixed references to the next() method (distinguish from the
...
next() function).
2014-09-05 23:34:12 +03:00
Terry Jan Reedy
a4b538df75
Issue 21533: Dicts take iterables, not iterators. Patch by Wolfgang Maier.
2014-06-02 20:42:48 -04:00
Mark Dickinson
05bbb8cbcf
Issue #21179 : Fix description of 'round' function for numbers.Real.
2014-04-09 07:03:27 -04:00
Zachary Ware
163a214df8
Use "x" instead of "i" for s.index and s.count entries in sequence ops table.
...
Suggested by Bruce Esrig on docs@.
2014-03-20 11:00:29 -05:00
R David Murray
dfd21d3538
#20063 : Remove inaccurate/confusing statement about support of 'pop' method.
...
Patch by Gennadiy Zlobin.
2013-12-25 22:26:59 -05:00
Serhiy Storchaka
26d936a71e
Issue #19795 : Improved markup of True/False constants.
2013-11-29 12:16:53 +02:00
Georg Brandl
5b68d64992
Closes #13905 : mention rich-comparison methods in addition to __cmp__ when documenting how to make classes comparable and orderable.
2013-10-12 18:44:13 +02:00
Serhiy Storchaka
ad16b725bc
Issue #19190 : Improve cross-references in builtin types and functions documentation.
2013-10-09 14:02:14 +03:00
Antoine Pitrou
92fae55bc9
Issue #18589 : fix hyperlinking of type slots (tp_*)
2013-08-01 21:17:24 +02:00
Ned Deily
c967a593c9
Issue #18452 : fix several "occurrence" typos (reported by Févry Thibault).
2013-07-14 12:42:27 -07:00
Raymond Hettinger
a74e5c809b
Issue 17920: Fix-up terminology in the set documentation
2013-05-06 18:21:10 -07:00
Ned Deily
0729500b01
Issue #17670 : Provide an example of expandtabs() usage.
2013-04-21 13:04:10 -07:00
Georg Brandl
827372e46b
Closes #17661 : fix references to repr() going to module repr.
2013-04-14 10:36:03 +02:00
Andrew Svetlov
7eba9dbaaf
Add link to glossary for hashable term in docs for set type
2013-04-05 16:21:39 +03:00
Andrew Svetlov
bd5279ea24
Drop double newlines printed in some file iteration examples.
...
Patch by Steven Kryskalla.
2012-12-08 18:01:27 +02:00
Ezio Melotti
090177676a
#16440 : fix exception type and clarify example.
2012-11-09 01:03:44 +02:00
Andrew Svetlov
3eb0e1da80
Issue #16439 : Fix markup in example for stdtypes.
...
Thanks to Yongzhi Pan.
2012-11-08 17:29:02 +02:00
Chris Jerdonek
b9829fca71
Backport from 3.2: link to mapping glossary entry in docs.
2012-11-03 12:13:46 -07:00
Andrew Svetlov
2c184c6d75
Reword set docs to use *proper subset/superset* terminology.
2012-11-01 21:47:05 +02:00
Ezio Melotti
8221f86513
#16206 : Improve examples about dict construction.
2012-10-26 19:14:16 +03:00
Chris Jerdonek
def5df6c53
Issue #16206 : Backport dict documentation improvements from 3.2.
...
Improve the documentation of the dict constructor. This change includes
replacing the single-line signature documentation with a more complete
multiple-line signature.
2012-10-13 03:49:30 -07:00
R David Murray
5618aaaafe
#15543 : glossary entry for and 'universal newlines', and links to it.
...
Patch by Chris Jerdonek.
2012-08-15 11:15:39 -04:00
Sandro Tosi
018e14dfe9
add missing quote in splitlines() example; thanks to Yevgen Yampolskiy from docs@
2012-08-12 12:34:57 +02:00
R David Murray
decdb74227
#15554 : clarify splitlines/split differences.
...
Patch by Chris Jerdonek.
2012-08-06 16:09:09 -04:00
R David Murray
de738a1b82
#14957 : fix doc typo.
2012-06-02 11:21:31 -04:00
R David Murray
4fbf7c61fe
#14957 : clarify splitlines docs.
...
Initial patch by Michael Driscoll, I added the example.
2012-06-01 16:21:06 -04:00
Ezio Melotti
35d03ed832
#14763 : document default maxsplit value for str.split.
2012-05-10 15:30:42 +03:00
Ezio Melotti
510ff54324
Use Python 3 instead of 3.0.
2012-05-03 19:21:40 +03:00
Sandro Tosi
f8ece8d777
refer to file.readline() in stdtypes doc; thanks to Mihai Capotă from docs@
2012-04-28 12:50:42 +02:00
Benjamin Peterson
dcd37e8154
forgot to resolve this conflict...
2012-01-25 16:43:26 -05:00
Benjamin Peterson
af90a40445
kill extra word
2012-01-25 16:30:18 -05:00
Benjamin Peterson
bcd6f3994c
say bitwise (because I have no idea what a bit-string is)
2012-01-25 16:29:03 -05:00
Georg Brandl
dfdc46f274
#13816 : fix two minor style issues. Thanks to Justin Wehnes for the patch.
2012-01-23 20:19:33 +01:00
Sandro Tosi
25e76bdb69
file.next() doc refers to itself
2012-01-17 18:57:30 +01:00
Sandro Tosi
a76bb03c55
None is not a keyword, link file.next() to functions.html#next
2012-01-14 16:43:14 +01:00
Sandro Tosi
98ed08f24e
update to new C roles and directives
2012-01-14 16:42:02 +01:00
Terry Jan Reedy
1d79eb6abe
Closes #13754 String returned if less than *or equal to* x 3
2012-01-11 03:19:28 -05:00
Ezio Melotti
2692be9d20
#13494 : s/cast/convert/. Also add a link.
2011-12-02 19:47:24 +02:00
Ezio Melotti
1e87da16ea
Remove duplication.
2011-10-19 10:39:35 +03:00
Éric Araujo
bd858b75ce
Turn last automatic footnote in this file into a manually-numbered one
2011-08-19 02:28:40 +02:00
Ezio Melotti
5085e8ac67
#12204 : document that str.upper().isupper() might be False and add a note about cased characters.
2011-08-15 14:24:15 +03:00
Benjamin Peterson
35fd1b9107
be precise
2011-07-30 22:08:09 -05:00
Benjamin Peterson
110b781129
note Ellipsis syntax
2011-07-30 09:59:12 -05:00
Benjamin Peterson
6726af73de
add space
2011-07-30 09:58:59 -05:00
Benjamin Peterson
f444f94ed2
document NotImplemented
2011-07-30 09:57:24 -05:00
Senthil Kumaran
6f18b98782
Fix closes issue10403 - Let's not use members anymore.
2011-07-04 12:50:02 -07:00
Ezio Melotti
87b86c84ef
Add a note to the str.find doc to suggest the use of the "in" operator.
2011-05-09 03:54:30 +03:00
Éric Araujo
941592aa19
Fix grammar to include both integer types in 2.x
2011-05-02 13:09:36 +02:00