Andre Delfino
de9e9b476e
Fix numbered lists in stdtypes.rst. (GH-10989)
2018-12-09 09:00:20 +02:00
Andre Delfino
55f41e45b4
Correct a couple of unbalanced parenthesis. (GH-10779)
2018-12-05 21:45:30 +02:00
Andrés Delfino
7610f4fe93
Correct grammar mistake in stdtypes.rst (GH-10481)
2018-11-12 09:24:00 -08:00
Andrés Delfino
ca03f3b93e
Mark len call as a code snippet in stdtypes.rst. (GH-9804)
2018-11-07 19:22:47 +02:00
Rémi Lapeyre
6531bf6309
bpo-33462: Add __reversed__ to dict and dict views (GH-6827)
2018-11-06 09:38:54 +09:00
Serhiy Storchaka
913876d824
bpo-35054: Add yet more index entries for symbols. (GH-10121)
2018-10-28 13:41:26 +02:00
Serhiy Storchaka
ddb961d2ab
bpo-35054: Add more index entries for symbols. (GH-10064)
2018-10-26 09:00:49 +03:00
Xtreak
890a4b9293
bpo-35020: Link to sorting examples from list.sort() (GH-9931)
2018-10-20 14:39:03 -07:00
Sanyam Khurana
ffc5a14d00
bpo-33014: Clarify str.isidentifier docstring (GH-6088)
...
* bpo-33014: Clarify str.isidentifier docstring
* bpo-33014: Add code example in isidentifier documentation
2018-10-08 12:23:32 +05:30
Lisa Roach
5ac704306f
bpo-33073: Adding as_integer_ratio to ints. (GH-8750)
2018-09-13 23:56:23 -07:00
Windson yang
1aeba7458d
bpo-34552: Clarify built-in types comparisons (GH-9035)
...
Some updates to ancient text about comparisons; fixes bp-34552.
2018-09-13 21:50:18 -07:00
wim glenn
08bcf647d8
bpo-28617 Fixed docs inaccuracies about the types that support membership tests (GH-9086)
...
<!-- issue-number: [bpo-28617](https://www.bugs.python.org/issue28617 ) -->
https://bugs.python.org/issue28617
<!-- /issue-number -->
2018-09-11 10:44:52 -07:00
Andrés Delfino
2e5d2ea208
Fix markup in stdtypes documentation (GH-8905)
2018-08-25 07:08:20 -07:00
Andrés Delfino
93b5655c04
bpo-34432: doc Mention complex and decimal.Decimal on str.format not about locales (GH-8808)
2018-08-18 13:36:24 -04:00
Andrés Delfino
b6efc2cf97
Improve the grammar in `range` documentation. (GH-8628)
...
Remove unnecessary "that" in the sentence.
2018-08-02 22:12:51 -07:00
Sanyam Khurana
b4bc5cab82
bpo-29710: Clarify documentation for Bitwise binary operation (GH-1691)
...
Mathematically, bitwise operations on integers behave as if there were an
infinite number of sign bits. Pragmatically, that gives the same answer as
using one extra sign bit for the bitwise logical operations.
2018-07-28 15:15:50 +10:00
Andrés Delfino
cb9c299a55
Fix versionchanged indentation in popitem documentation (GH-8387)
2018-07-21 15:14:56 -07:00
Raymond Hettinger
01b7d58982
bpo-34123: Fix missed documentation update for dict.popitem(). (GH-8292)
2018-07-16 17:20:15 -07:00
Andrés Delfino
03dd0e794e
Add missing closing parentheses (GH-8144)
2018-07-07 22:00:46 +03:00
Andrés Delfino
4a6e746079
bpo-33952: Fix typo in str.upper() documentation (GH-7898)
2018-06-25 13:34:22 +03:00
Andrés Delfino
a9d0b34a5c
bpo-33854: Add PEP 461 title to 'See also' note (GH-7688)
2018-06-15 15:42:20 -04:00
Neil Schemenauer
d3ed67d14e
bpo-33609: small wording fixes to dict ordering docs
...
A few wording improvements to dict ordering documentation.
2018-06-07 14:46:04 -07:00
INADA Naoki
f822549653
bpo-33609: Document dict insertion order guarantee as of 3.7 (GH-7093)
2018-06-04 18:09:22 -04:00
Antoine Pitrou
480ab05d5f
bpo-33176: Add a toreadonly() method to memoryviews. (GH-6466)
2018-04-14 19:49:21 +02:00
hui shang
dfbbbf16f9
bpo-32337: Update documentats about dict order (GH-4973)
2018-04-04 13:55:05 +09:00
INADA Naoki
a49ac99029
bpo-32677: Add .isascii() to str, bytes and bytearray (GH-5342)
2018-01-27 14:06:21 +09:00
Victor Stinner
cb064fc232
bpo-31900: Fix localeconv() encoding for LC_NUMERIC ( #4174 )
...
* Add _Py_GetLocaleconvNumeric() function: decode decimal_point and
thousands_sep fields of localeconv() from the LC_NUMERIC encoding,
rather than decoding from the LC_CTYPE encoding.
* Modify locale.localeconv() and "n" formatter of str.format() (for
int, float and complex to use _Py_GetLocaleconvNumeric()
internally.
2018-01-15 15:58:02 +01:00
Nitish Chandra
5ce0a2a100
bpo-31942: Document optional support of start and stop attributes in Sequence.index method ( #4277 )
2017-12-12 11:22:30 +01:00
Serhiy Storchaka
a2314283ff
bpo-20047: Make bytearray methods partition() and rpartition() rejecting ( #4158 )
...
separators that are not bytes-like objects.
2017-10-29 02:11:54 +03:00
Peter Thomassen
caa1280d1e
bpo-30803: clarify truth value testing documentation ( #2508 )
...
Initial patch by Peter Thomassen.
2017-07-29 15:18:13 -04:00
Łukasz Rogalski
be37beb05f
Doc that 'sorted' args are keyword-only, fix 'reverse' default ( #2706 )
2017-07-14 15:23:39 -04:00
Benjamin Peterson
279a96206f
bpo-30736: upgrade to Unicode 10.0 ( #2344 )
...
Straightforward. While we're at it, though, strip trailing whitespace from generated tables.
2017-06-22 22:31:08 -07:00
Marco Buttu
5eb7075915
bpo-30217: Add the operators ~ and | to the index ( #1502 )
2017-06-09 17:28:27 +03:00
Julien
0737ee2067
bpo-30499: Remove a deprecated note about sets. (GH-1848)
2017-06-01 07:02:21 -07:00
Sanyam Khurana
08e2f355d0
bpo-22702: Clarify documentation of str.join & bytes.join (GH-156)
...
The "iterable iterable" phrasing created confusion between the term
reference and the parameter name.
This simplifies the phrasing to just use the parameter name
without linking directly to the term definition.
2017-05-27 15:44:41 +10:00
Serhiy Storchaka
d97b7dc94b
bpo-30380: Fix Sphinx 1.6.1 warnings. ( #1613 )
...
* Use explicit numbering for footnotes referred by explicit number.
* Restore missed footnote reference in stdtypes.rst.
* Fix literal strings formatting in howto/urllib2.rst.
* Update susp-ignored.csv for zipapp.rst.
* Fix suspicious mark up in Misc/NEWS.
2017-05-16 23:18:09 +03:00
csabella
c6db4811f9
bpo-30052: Link `bytes` & `bytearray` to stdtypes not functions (GH-1271)
...
Builtin container types have two potential link targets in the docs:
- their entry in the list of builtin callables
- their type documentation
This change brings `bytes` and `bytearray` into line with other
container types by having cross-references default to linking to
their type documentation, rather than their builtin callable entry.
2017-04-26 15:47:01 +10:00
Barry Warsaw
9f74deba78
Improve the documentation for template strings ( #856 )
...
bpo-19824
bpo-20314
bpo-12518
2017-03-28 10:02:07 -04:00
Xiang Zhang
b2d77175d1
bpo-29756: Improve documentation for list methods that compare items by equality (GH-572)
2017-03-13 10:09:16 +08:00
Mariatta
8eb531d9db
bpo-29709: Improve Boolean Operations documentation ( #433 )
...
Change False into false, and True into true.
2017-03-03 13:16:29 -08:00
Xiang Zhang
dfe14c462d
Issue #29112 : Merge 3.6.
2016-12-30 11:58:14 +08:00
Xiang Zhang
9ea82ddad5
Issue #29112 : Merge 3.5.
2016-12-30 11:57:40 +08:00
Xiang Zhang
cea904f286
Issue #29112 : Fix a questionable wording in sequence doc.
2016-12-30 11:57:09 +08:00
Martin Panter
9fa6374925
Issue #1446619 : Merge slicing description from 3.6
2016-12-24 08:31:37 +00:00
Martin Panter
0efb5b3538
Issue #1446619 : Merge slicing description from 3.5
2016-12-24 08:31:11 +00:00
Martin Panter
3dbd87f2b9
Issue #1446619 : Account for negative slice direction in description
...
Based on suggestion from Fumihiro Bessho.
2016-12-24 08:25:15 +00:00
Serhiy Storchaka
dd1da7f74a
Issue #28927 : bytes.fromhex() and bytearray.fromhex() now ignore all ASCII
...
whitespace, not only spaces. Patch by Robert Xiao.
2016-12-19 18:51:37 +02:00
Berker Peksag
0bf590627b
Issue #28944 : Merge from 3.5
2016-12-15 05:38:25 +03:00
Berker Peksag
7b440dfec4
Issue #28944 : Fix footnote numbering
2016-12-15 05:37:56 +03:00
Martin Panter
0a7b8596c0
Issues #28916 , #26483 : Merge stdtypes.rst from 3.5
2016-12-11 02:31:32 +00:00