Commit Graph

20257 Commits

Author SHA1 Message Date
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
Mariatta 5c329882fa bpo-29474: Improve documentation for weakref.WeakValueDictionary (#11)
There were some grammatical errors in weakref.WeakValueDictionary
documentation.
2017-02-10 19:44:57 -06:00
Nick Coghlan 4e1e30dae9 Issue #26355: Specify canonical URLs in docs pages
Add canonical header link on each page to corresponding major version of the documentation.

Patch by Matthias Bussonnier.
2017-02-09 17:00:31 +01:00
Mariatta Wijaya d9fb4a97f3 Issue #29371: Clarify bitwise OR operation in doctest option flags. 2017-02-06 20:30:10 -08:00
Mariatta Wijaya ebfb2f76c5 Issue #29329: Improve documentation for hex(). Patch by Ammar Askar 2017-02-01 22:27:02 -08:00
Mariatta Wijaya 40ba60f6bf Issue #29381: Clarify ordering of UNIX shebang line as source encoding line 2017-02-01 21:14:47 -08:00
Martin Panter 60a1b351ca Issue #12067: Rewrite Comparisons section in the language reference
Some of the details of comparing mixed types were incorrect or ambiguous.
Added default behaviour and consistency suggestions for user-defined classes.
Based on patch from Andy Maier.
2017-01-21 05:14:56 +00:00
Senthil Kumaran 19048c3ada Add clarity to the warning on certificate verification in urllib. 2017-01-27 23:05:34 -08:00
Senthil Kumaran 1bfbe4fdbf issue26149 - Point to Wiki for Editors and Python IDEs on Unix.
Patch contributed by Mariatta Wijaya.
2017-01-25 01:46:33 -08:00
Martin Panter efba28c580 Issue #29189: Fix indentation in RST markup 2017-01-24 00:22:45 +00:00
Martin Panter 1b31d284e1 Issue #29274: tests cases → test cases 2017-01-18 12:14:29 +00:00
Martin Panter ea9342ae6d Avoid line breaks after hyphens, otherwise they are turned into spaces 2017-01-14 09:53:23 +00:00
Martin Panter 12344883ff Issue #15527: remove double parens by changing markup.
Patch by Serhiy Storchaka.
2017-01-14 09:40:11 +00:00
Martin Panter c7496ee6da Fix spelling and markup in documentation and code comment
* Mark up ``--help`` to avoid generating an en dash
* Use forward slash in Unix command line with a dollar sign ($) prompt
2017-01-14 08:51:49 +00:00
Alexander Belopolsky a6f10ca4d1 Closes #28130: Documented that time.tzset() updates time module globals.
Thanks Greg Bengeult for the patch.
2017-01-12 15:06:34 -05:00
Xiang Zhang da8ea3a59d Issue #29217: Fix the wrong type description of UUID.variant. 2017-01-10 11:27:07 +08:00
Berker Peksag 10434d6cb6 Issue #29189: Fix broken indentation in FancyURLopener documentation 2017-01-07 09:17:02 +03:00
Raymond Hettinger 9b7ae96b98 Issue #29023: Clarify that ints and longs are always deterministic seeds for random. 2017-01-06 16:13:37 -08:00
Benjamin Peterson ea02cdc7ec ring in 2017 for Python 2017-01-01 22:04:13 -06:00
Xiang Zhang a19fd46132 Issue #29112: Fix a questionable wording in sequence doc. 2016-12-30 11:55:28 +08:00