7889 Commits

Author SHA1 Message Date
Xiang Zhang
b39a7481ee bpo-30176: Add missing curses cell attributes constants (#2278) 2017-06-19 22:12:45 +08:00
Mariatta
4b30107bfd bpo-30659 : Use ** for kwargs in namedtuple._replace() signature (GH-2173) (GH-2196)
(cherry picked from commit 184bd82ba8)
2017-06-14 12:07:42 -07:00
Antoine Pitrou
15a6127e72 [2.7] Mention how to disable signal fd wakeup (GH-2140) (#2151)
(cherry picked from commit d79c1d4a94)
2017-06-13 10:21:28 +02:00
Marco Buttu
bbb335891c bpo-30217: add the operators ~ and | to the index (GH-1502) (GH-2137)
(cherry picked from commit dc980dfbcfce4695ccde056c3983160ba97b5a36)
2017-06-12 12:42:47 -07:00
Mariatta
9660a7e4bb bpo-25409: Clarify fnmatch and fnmatchcase documentation (GH-1535) (GH-2067)
Mention that fnmatchcase does not call normcase, and fnmatch does.
(cherry picked from commit e5f6e86c48)
2017-06-10 07:26:39 -07:00
Mariatta
662d856cd7 bpo-30499: Remove a deprecated note about sets. (GH-1848) (GH-1907)
(cherry picked from commit 0737ee2067)
2017-06-01 07:12:18 -07:00
Mariatta
9139f23464 bpo-22702: Clarify documentation of str.join & bytes.join (GH-156) (GH-1898)
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..
(cherry picked from commit 08e2f355d0)
2017-05-31 19:49:30 -07:00
Stéphane Wirtel
2bb6eb3fbb [2.7] Indent methods and attributes of MimeType class (GH-1306) (#1801) 2017-05-25 10:11:30 -07:00
Brian Ward
9395ca40f2 added re.UNICODE effects to insensitive flags (#1781) 2017-05-24 00:08:41 -07:00
delirious-lettuce
374e57d928 [2.7] Fix typos in multiple .rst files (GH-1668) (#1707) 2017-05-22 20:16:53 +03:00
Serhiy Storchaka
b8b9f95f66 [2.7] bpo-30380: Fix Sphinx 1.6.1 warnings. (GH-1613) (#1616)
* Use explicit numbering for footnotes referred by explicit number.
* Fix literal strings formatting in howto/urllib2.rst.
* Add `:noindex:` to duplicated definition of list.
* Update susp-ignored.csv for reference/expressions.rst.
(cherry picked from commit d97b7dc94b)
2017-05-17 01:26:48 +03:00
Mariatta
e1b02ff588 [2.7] bpo-28315: Improve code examples in docs (GH-1372) (#1447)
Replace
   File "<stdin>", line 1, in ?
with
   File "<stdin>", line 1, in <module>.
(cherry picked from commit 8856940cf2)
2017-05-03 18:54:28 -07:00
Serhiy Storchaka
43566aee12 [2.7] bpo-30223: Add Lib/test/__main__.py. (#1373)
To unify running tests in Python 2.7 and Python 3, the test
package can be run as a script.  This is equivalent to running the
test.regrtest module as a script.
2017-05-02 18:26:25 +03:00
Serhiy Storchaka
a694e092f6 bpo-30207: Rename test.test_support to test.support. (#1353)
To simplify backports from Python 3, the test.test_support module
was converted into a package and renamed to test.support.  The
test.script_helper module was moved into the test.support package.
Names test.test_support and test.script_helper are left as aliases to
test.support and test.support.script_helper.
2017-04-30 11:36:58 +03:00
csabella
4734c2d5c0 [2.7] bpo-30208: DOC: fix small typos in IDLE (#1358)
(cherry picked from commit d9af73330f46d79cc0c56d369f65ebeec3cb5334)
2017-04-29 20:44:04 -04:00
Dong-hee Na
19b3a4885c [2.7] bpo-30142: Remove "callable" from the 2to3fixer documentation. (GH-1305) 2017-04-26 09:55:32 -07:00
Christopher Snyder
32c43fbfee Fix typo in HTTPConnection.set_tunnel description (#1179) 2017-04-19 08:45:16 -07:00
Serhiy Storchaka
53ad68434c bpo-30021: Add examples for re.escape(). (#1048) (#1118)
And fix the parameter name.

(cherry picked from commit 8fc7bc2b76)
2017-04-13 19:47:18 +03:00
Mariatta
7026cd92c0 [2.7] Correct typo in configparser.rst (GH-1012) (GH-1026)
(cherry picked from commit 01fa9ae546)
2017-04-09 15:16:06 -07:00
Nick Coghlan
ab16dc180e bpo-29506: Clarify deep copy note in copy module
The reference to administrative data was confusing to readers,
so this simplifies the note to explain that deep copying may copy
more then you intended, such as data that you expected to be
shared between copies.

Patch by Sanyam Khurana.
2017-04-09 20:57:29 +10:00
Mandeep Singh
2ee01ecf41 [2.7] bpo-22392: Improve documentation for __getinitargs__ (GH-899) 2017-03-30 13:39:06 -07:00
cocoatomo
de65804d5c Insert a missing semicolon in sgmllib documentation (#772) 2017-03-22 21:12:36 +02:00
Xiang Zhang
dae5482c9c fix function name in tabnanny documentation (GH-764) 2017-03-22 15:22:44 +08:00
Mariatta
91f79db02a bpo-29856: Fix typo in curses documentation (GH-730) (GH-733)
From Shifted Dxit -> Shifted Exit in Doc/library/curses.rst
(cherry picked from commit 64508780d7)
2017-03-19 20:55:34 -07:00
Xiang Zhang
4ec14c2360 fix parameter names in ftplib documentation (GH-656) 2017-03-13 10:41:38 +08:00