Commit Graph

20276 Commits

Author SHA1 Message Date
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 dc980dfbcf)
2017-06-12 12:42:47 -07:00
Mariatta 107949cb87 bpo-30621: Update Input Output Tutorial Example(GH-2074) (GH-2120)
import json before using json module
(cherry picked from commit 1dbce04d0e)
2017-06-11 18:59:33 -07:00
Zachary Ware 5fe8ac69f9 [2.7] bpo-27425: Be more explicit in .gitattributes (GH-840) (GH-2086)
Also updates checked-in line endings in several files.
2017-06-11 14:19:39 -05: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
Mariatta e81aa87562 [2.7] Fix a trivial typo in global section (GH-1497) (GH-1882)
(cherry picked from commit f34c685020)
2017-05-30 22:08:19 -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
Zachary Ware f6c6d1e230 bpo-11681: Document the `-b` and `-bb` options (GH-1562) 2017-05-13 09:30:20 -05:00
Zachary Ware 4be66b6cd1 Fix warnings due to deprecated latex options (GH-1563) 2017-05-13 09:16:44 -05:00
Zachary Ware c7362b4b08 Update susp-ignored.csv (GH-1564) 2017-05-13 09:16:25 -05: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 d9af73330f)
2017-04-29 20:44:04 -04:00
Mariatta 24404b4c92 [2.7] bpo-30182: Use the correct name for ISO in Unicode HOWTO. (GH-1312). (#1315)
(cherry picked from commit 6fde770e4e)
2017-04-26 22:25:40 -07: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
Serhiy Storchaka bfc7dff63b [2.7] bpo-15718: Document the upper bound constrain on the __len__ return value. (GH-1256). (#1261)
(cherry picked from commit 85157cd89a)
2017-04-23 08:58:09 +03:00
Berker Peksag fb12365c43 Remove redundant comma in argparse HOWTO (GH-1141)
Reported by Sean Canavan on docs@p.o.

(cherry picked from commit 8526fb74ed)
2017-04-20 07:41:01 +03:00
cocoatomo 450a69c6a4 bpo-19225: Remove duplicated description for standard warning categories (GH-1068) 2017-04-20 06:57:21 +03:00
Christopher Snyder 32c43fbfee Fix typo in HTTPConnection.set_tunnel description (#1179) 2017-04-19 08:45:16 -07:00
Michael Seifert 0b46fcf45a [2.7] bpo-30059: Include Py_Ellipsis in C API documentation (GH-1018) (GH-1147) 2017-04-14 19:04:22 -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 e0cba5b45a [2.7] bpo-29521: Fix two minor documentation build warnings (GH-41) (GH-670)
(cherry picked from commit 3d707be950)
2017-04-10 10:27:50 -07: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
cocoatomo 7f85947106 [2.7] bpo-19225: Lack of c api exceptions doc (#964)
* Keep the c-api exception doc up-to-date

cherry-pick'ed from ec1f5df..e3d6db3 and fix conflict
2017-04-08 09:19:24 +03:00
Eric Wieser 9b50786bc7 Fix references within buffer protocol docs (#1016) 2017-04-06 20:36:43 +03:00
INADA Naoki 5aa913d723 bpo-29952: Use usual terminology of dict (GH-924)
s/keys and elements/keys and values/
(cherry picked from commit cdcac039fb)
2017-03-31 15:53:25 +09:00
Mandeep Singh 2ee01ecf41 [2.7] bpo-22392: Improve documentation for __getinitargs__ (GH-899) 2017-03-30 13:39:06 -07:00
Senthil Kumaran 3ceca68741 bpo-29917: DOC: Remove link from PyMethodDef (#890) (#896)
(cherry picked from commit c3c7ef0885)
2017-03-29 22:29:12 -07:00
Mariatta fd704a02ca bpo-16011: clarify that 'in' always returns a boolean value (GH-152) (GH-883)
(cherry picked from commit 0ae7c8bd61)
2017-03-29 14:10:13 -07:00
cocoatomo 6f95b37f29 bpo-29888: Fix the link referring to "Python download page" (GH-823) 2017-03-26 22:59:14 -04: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
cocoatomo 309fb90f68 Insert the line which should not have been deleted (#581)
see [bpo-29772](http://bugs.python.org/issue29772)
2017-03-09 08:54:27 -07:00
Mariatta fc59e5c707 bpo-29709: Improve Boolean Operations documentation (#433) (#438)
(cherry picked from commit 8eb531d9db)
2017-03-03 13:34:52 -08:00
Mariatta c8e20218d7 bpo-22594: Add a link to the regex module in re documentation (GH-241) (GH-321)
(cherry picked from commit ed6795e46f)
2017-02-26 08:56:21 -08:00
INADA Naoki 9436bbd87b bpo-29165: doc: make extending/newtypes more Python 3 friendly (GH-211)
* Use PyVarObject_HEAD_INIT instead of PyObject_HEAD_INIT on type struct header.
* Backport many minor fixes from Python 3 doc to minimize diff.
2017-02-21 21:12:03 +09:00
Senthil Kumaran af9a40d58c [2.7] Change some mercurial/ hg.python.org references. (#8) (#183)
(cherry picked from commit b2ee40ed9c)
2017-02-19 17:49:54 -08:00
INADA Naoki cf44d957ec bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-180) 2017-02-20 09:45:55 +09:00
Qingpeng "Q.P." Zhang 4bfb603810 Remove redundant footnote (#181)
It was accidentally added in cc79837.
2017-02-19 22:32:51 +03:00
Mariatta e15259c2df bpo-28929: Link the documentation to its source file on GitHub (#38)
Change the documentation's `Show Source` link on the left menu
to GitHub source file.
2017-02-12 13:07:33 -08:00
Mariatta 52b8c5591b [backport to 2.7] Change documentation's `Show Source` link to GitHub (#44)
* Support "bpo-" in Misc/NEWS (#1)
Change the url to 2.7

(cherry picked from commit 79ab8be05f)

* pyspecific.py: remove space after` bpo-`
2017-02-12 12:59:20 -08:00