Commit Graph

20465 Commits

Author SHA1 Message Date
Miss Islington (bot) 2ad350a713 [3.6] bpo-31589 : Build PDF using xelatex for better UTF8 support. (GH-3940) (#4683)
Also addresses doc build failures documented in bpo-32200.
(cherry picked from commit 7324b5ce8e)
2017-12-02 17:35:08 -05:00
Miss Islington (bot) 5f6d2bb8cf Use raw strings in the re module examples. (GH-4616) (#4617)
(cherry picked from commit c615be5166)
2017-11-28 23:21:09 +02:00
Miss Islington (bot) 8a957534f5 bpo-32051: Fix name shadowing in multiprocessing docs (GH-4469)
(cherry picked from commit c172fc5031)
2017-11-27 04:22:50 +03:00
Miss Islington (bot) cceb0f8d7b bpo-29879: Update typing documentation. (GH-4573) (GH-4574)
- Add "version added: 3.5.2" note where it was missing.
- Remove the mention that Reversible is new in 3.5.2
(cherry picked from commit 0cd2e81bea)
2017-11-26 14:27:44 -08:00
Miss Islington (bot) 6bce8ace76 [Doc] Update opcode for var-positional arguments (GH-4446) (#4457)
`BUILD_MAP_UNPACK_WITH_CALL` was duplicated as the opcode for both var-positional and var-keyword arguments. The opcode for the former was updated as `BUILD_TUPLE_UNPACK_WITH_CALL`.
(cherry picked from commit 0c71653cb8)
2017-11-25 17:57:41 +02:00
Miss Islington (bot) db897b1961 Improve Scheduler Objects documentation. (GH-4556) (GH-4557)
Mention that the lower the priority number, the higher priority it represents.
(cherry picked from commit 9d5ec808de)
2017-11-24 21:48:26 -08:00
Miss Islington (bot) 3e60747025 bpo-30004: Fix the code example of using group in Regex Howto Docs (GH-4443) (GH-4554)
The provided code example was supposed to find repeated words, however it returned false results.
(cherry picked from commit 610e5afdcb)
2017-11-24 21:03:04 -08:00
Miss Islington (bot) 05ee12153f Asyncion-Dev docs: Fix the reference to sys.excepthook (GH-4414) (GH-4549)
(cherry picked from commit f8802d80b3)
2017-11-24 16:07:37 -08:00
Miss Islington (bot) 7b909a93bf Improve the String tutorial docs (GH-4541) (GH-4545)
The paragraph that contains example of string literal concatenation was placed
after the section about concatenation using the '+' sign.
Moved the paragraph to the appropriate section.
(cherry picked from commit 78a5722ae9)
2017-11-24 09:35:08 -08:00
Miss Islington (bot) 90abbee7aa Extending Python Doc minor updates (GH-4518) (GH-4535)
Move footnote markers to be closer to the related terminology:
before the end of the sentence, instead of after.
(cherry picked from commit cdfe910e74)
2017-11-24 00:55:23 -08:00
Miss Islington (bot) ff847d1ac7 bpo-31325: Fix usage of namedtuple in RobotFileParser.parse() (GH-4529) (#4533)
(cherry picked from commit 3df02dbc8e)
2017-11-23 15:57:58 -08:00
Berker Peksag a645b23ffc
bpo-30456: Clarify example for duplicates in second argument of isinstance (GH-1699)
(cherry picked from commit 26248ef58d)
2017-11-23 23:27:25 +03:00
Miss Islington (bot) d7ed48c2b8 bpo-32105: add asyncio.BaseEventLoop.connect_accepted_socket versionadded to documentation. (GH-4491) (#4493)
(cherry picked from commit 431665bf19)
2017-11-21 11:16:40 -05:00
Miss Islington (bot) 32b003aca3 Add comment and improve variable name in roundrobin() (GH-4486) (#4487)
(cherry picked from commit 337cbbace0)
2017-11-21 00:29:34 -08:00
Miss Islington (bot) 60a376cf00 bpo-32050: Fix -x option documentation (GH-4475) (#4477)
The line number in correct when using the -x option: Py_Main() uses
ungetc() to not skip the first newline character.
(cherry picked from commit c5a2071586)
2017-11-20 08:16:08 -08:00
Miss Islington (bot) 80baec58f5 Remove outdated .pyo reference from msilib docs (GH-4461)
Since f299abdafa
the remove_pyc() method no longer tries to
remove .pyo files.
(cherry picked from commit b56becb373)
2017-11-19 13:11:48 +03:00
Miss Islington (bot) 2f1ccf5e9c Document parameters of BaseServer.finish_request() (GH-4445)
(cherry picked from commit 7750bded92)
2017-11-19 10:41:19 +03:00
Miss Islington (bot) 6cc476ace1 Fix typo in atexit documentation. (GH-4419) (GH-4425)
`kargs` -> `kwargs`
(cherry picked from commit d505a29a15)
2017-11-16 09:11:41 -08:00
Jesse-Bakker 42336def77 bpo-31948: Fix broken links in msilib docs (GH-4397). (GH-4398)
(cherry picked from commit 3bda02222a)
2017-11-14 16:23:35 -08:00
Miss Islington (bot) 14c1fe682f bpo-15606: Improve the re.VERBOSE documentation. (GH-4366) (#4394)
(cherry picked from commit b0b44b4b33)
2017-11-14 17:38:50 +02:00
xdegaye ea5b545e38
[3.6] bpo-30696: Fix the REPL looping endlessly when no memory (GH-4160). (#4379)
(cherry picked from commit e0582a37c8)
2017-11-12 17:33:16 +01:00
Miss Islington (bot) 4e09deb127 The termios man page is in section 3 (GH-2450)
(cherry picked from commit e197a8538b)
2017-11-11 19:57:17 +03:00
Miss Islington (bot) 98ad985afe Remove redundant 'exc = True' line (GH-4357)
It can be removed after c28890fb42
(cherry picked from commit 7c9da3e5ba)
2017-11-11 18:11:34 +03:00
Miss Islington (bot) 7abbddd88d bpo-31824: Document default value of 'errors' parameters (GH-4328)
(cherry picked from commit e184cfd7bf)
2017-11-11 02:14:00 +03:00
Miss Islington (bot) 64f10492dc bpo-31793: Doc: Specialize smart-quotes for Japanese (GH-4006)
(cherry picked from commit 5a66c8a64d)
2017-11-08 01:55:08 +09:00
Miss Islington (bot) 518c6b9786 bpo-31960: Fix asyncio.Future documentation for thread (un)safety. (GH-4319) (#4320)
(cherry picked from commit 22b1128559)
2017-11-07 17:22:18 +01:00
Miss Islington (bot) d9c61c2a26 bpo-31965: fix doc for multiprocessing.connection.Client and Listener (GH-4304) (#4321)
* fix doc for multiprocessing.connection.Client

The authenticate argument does not exist on either Client or Listener:
- https://github.com/python/cpython/blob/master/Lib/multiprocessing/connection.pyGH-L483 (master)
- https://github.com/python/cpython/blob/3.6/Lib/multiprocessing/connection.pyGH-L478 (3.6)
- https://github.com/python/cpython/blob/3.5/Lib/multiprocessing/connection.pyGH-L478 (3.5)
- https://github.com/python/cpython/blob/3.4/Lib/multiprocessing/connection.pyGH-L487 (3.4)
The documentation also claimed that these functions will call `current_process().auth_key`, for which I could find no evidence in the code. I rewrote the documentation to reflect the actual behavior.

Also made some small changes to vary sentence structure.
(cherry picked from commit 1e5d54cfa0)
2017-11-07 17:20:24 +01:00
Miss Islington (bot) e65617f65e bpo-31950: Improve event loop policy doc (GH-4306) (#4307)
(cherry picked from commit 4135c89395)
2017-11-07 10:34:47 +01:00
Miss Islington (bot) 5c0100aec0 bpo-31923: Fix spelling in sqlite3 docs (GH-4227)
(cherry picked from commit aafece7a9e)
2017-11-05 02:11:01 +03:00
Miss Islington (bot) f9387469e8 bpo-31678: Fix typo in PyDateTime_DELTA_GET_MICROSECONDS (GH-3869)
(cherry picked from commit 82cd3cede8)
2017-11-04 13:45:51 +03:00
Miss Islington (bot) 6dbecd2cd9 bpo-18699: Corrected documentation for window.chgat in curses module (GH-1430) (#4271)
(cherry picked from commit b838cc3ff4)
2017-11-04 10:26:44 +02:00
Berker Peksag 7891556b5c
Returning 1 from the set_progress_handler handler cancels query (GH-4120)
(cherry picked from commit ac03c03b30)
2017-11-02 21:08:04 +03:00
Miss Islington (bot) 8543ce8ffd bpo-20064: Document PyObject_Malloc() (GH-4199) (#4203)
Document the following functions:

* PyObject_Malloc()
* PyObject_Calloc()
* PyObject_Realloc()
* PyObject_Free()

Fix also PyMem_RawFree() documentation.
(cherry picked from commit ec2cbdd1df)
2017-10-31 09:56:11 -07:00
Miss Islington (bot) 2702380870 bpo-31304: Update starmap_async documentation. (GH-4168) (GH-4177)
Update the kwarg in the documentation of `multiprocessing.pool.Pool.starmap_async`, from `error_back` to `error_callback` to match the source code.
(cherry picked from commit 11225753a8)
2017-10-30 11:47:39 -07:00
Serhiy Storchaka 9ea5a3a45b
[3.6] bpo-20047: Make bytearray methods partition() and rpartition() rejecting (GH-4158) (#4162)
separators that are not bytes-like objects..
(cherry picked from commit a2314283ff)
2017-10-29 12:24:45 +02:00
Berker Peksag 0f1973d06e
bpo-31065: Add doc about Popen.poll returning None. (GH-3169)
(cherry picked from commit 006617ff7d)
2017-10-29 07:06:48 +03:00
Miss Islington (bot) 37d1d967ee bpo-31053: Remove redundant 'venv' argument in venv example (GH-2907)
(cherry picked from commit d609b0c24e)
2017-10-27 07:47:00 +03:00
xdegaye 4b27d51222 [3.6] bpo-30697: Fix PyErr_NormalizeException() when no memory (GH-2327). (#4135)
(cherry picked from commit 56d1f5ca32)
2017-10-26 17:48:48 +02:00
Miss Islington (bot) 614ea48986 bpo-30937: Make usage of newline='' consistent in csv docs (GH-2730)
(cherry picked from commit 275d2d9c46)
2017-10-26 11:38:14 +03:00
Miss Islington (bot) 858ea4354f [3.6] bpo-31799: Make module.__spec__ more discoverable (GH-4010) (#4021)
bpo-31799: Make module.__spec__ more discoverable
(cherry picked from commit 191e313820)
2017-10-17 15:59:21 -04:00
Miss Islington (bot) e881302b70 [3.6] bpo-31754: Fix type of 'itemsize' in PyBuffer_FillContiguousStrides (GH-3993)
(cherry picked from commit 1b9e76ed3a)
2017-10-15 10:37:07 +03:00
Serhiy Storchaka 69ed5b61e7 [3.6] bpo-31714: Improved regular expression documentation. (GH-3907). (#3994)
(cherry picked from commit cd195e2a7a)
2017-10-14 12:17:14 +03:00
INADA Naoki 7060380d57 bpo-31672: Fix string.Template accidentally matched non-ASCII identifiers (GH-3872)
Pattern `[a-z]` with `IGNORECASE` flag can match to some non-ASCII characters.

Straightforward solution for this is using `IGNORECASE | ASCII` flag.
But users may subclass `Template` and override only `idpattern`. So we want to
avoid changing `Template.flags`.

So this commit uses local flag `-i` for `idpattern` and change `[a-z]` to `[a-zA-Z]`.
(cherry picked from commit b22273ec5d)
2017-10-14 14:21:59 +09:00
Miss Islington (bot) fdf151bbfb [3.6] Improve test suite customization example (GH-3967)
Reported by John Gamboa on docs@p.o at
https://mail.python.org/pipermail/docs/2017-June/031942.html

(cherry picked from commit 9255104499)
2017-10-13 06:54:32 +03:00
Ned Deily 86f37b5225 Exclude non-default VENVDIR in Doc builds (#3974) (#3975) 2017-10-12 16:21:17 -04:00
Ned Deily f8d42ea0e4 bpo-31766: restore 3.5 to docs version switchers (#3970) 2017-10-12 14:19:07 -04:00
Miss Islington (bot) 205dd4e14d [3.6] bpo-31567: add or fix decorator markup in docs (GH-3959) (GH-3966)
(cherry picked from commit 0e61e67a57)
2017-10-12 12:33:05 -04:00
Miss Islington (bot) 764969a4b9 [3.6] bpo-28157: Improvements for the time module documentation (GH-928)
* Separated functions and constants descriptions in sections.
* Added a note about the limitations of timezone constants.
* Removed redundant lists from the module docstring.

(cherry picked from commit 703ff381ff)
2017-10-11 16:50:21 +03:00
Miss Islington (bot) 10eb14e2c5 bpo-31537: Update readline documentation example. (GH-3925) (GH-3948)
Change the code example from using `get_history_length` to `get_current_history_length`.
(cherry picked from commit eeb5ffd54e)
2017-10-10 15:03:14 -07:00
Miss Islington (bot) 5f396dba1d bpo-31720: msilib documentation, change MsiError into MSIError (GH-3914) (GH-3917)
(cherry picked from commit 28f713601d)
2017-10-07 09:00:27 -07:00