Commit Graph

20601 Commits

Author SHA1 Message Date
Serhiy Storchaka 55d9e865cb
[3.6] bpo-33641: Convert RFC references into links. (GH-7103) (GH-7276)
85% of them are already links.
(cherry picked from commit 0a36ac1a09)
2018-05-31 09:11:07 +03:00
Miss Islington (bot) 7da7a01f99 3.6 what's new: fix a reference to PEP 528 (GH-7113) (#7257)
(cherry picked from commit 495e567a2b)

Co-authored-by: Dmitry Shachnev <mitya57@users.noreply.github.com>
2018-05-30 19:35:15 -04:00
Miss Islington (bot) 7301dd91e8
bpo-33696: Install python-docs-theme even if SPHINXBUILD is defined (GH-7242)
(cherry picked from commit 05f1c8902c)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-05-30 10:37:52 -07:00
Yury Selivanov 3b263e65a8
bpo-32684: Fix gather to propagate cancel of itself with return_exceptions (GH-7224) 2018-05-29 19:20:01 -04:00
Miss Islington (bot) 51bf38f796
bpo-30935: update get_event_loop docs (GH-2731)
(cherry picked from commit e55de2d77f)

Co-authored-by: Mandeep Singh <daxlab@users.noreply.github.com>
2018-05-29 12:33:29 -07:00
Steve Dower 325320d5f5
bpo-32878: Adds documentation for st_ino on Windows (GH-5764) (GH-7190) 2018-05-28 19:27:11 -07:00
Miss Islington (bot) 08beaf7d60
bpo-33670: Expose Sphinx errorlevel (GH-7156)
(cherry picked from commit 8c1ad0c4f6)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-05-28 18:49:50 -07:00
Miss Islington (bot) d8af830243
bpo-33673: Install python-docs-theme even if Sphinx is already installed (GH-7163)
(cherry picked from commit 3d3e66c2da)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-05-28 18:08:17 -07:00
Andrés Delfino 717204ffcc [3.6] bpo-32769: A new take on annotations/type hinting glossary entries (GH-6829) (GH-7128)
* [3.6] bpo-32769: A new take on annotations/type hinting glossary entries (GH-6829).
(cherry picked from commit 6e33f810c9)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>

* Typo fix spotted by Guido
2018-05-26 10:41:12 -07:00
Miss Islington (bot) 36f066a974
Document typing.NoReturn (GH-7107)
(cherry picked from commit 6e413f4327)

Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com>
2018-05-24 21:56:24 -07:00
Serhiy Storchaka 93e9fb5664
[3.6] bpo-5945: Improve mappings and sequences C API docs. (GH-7029). (GH-7049)
(cherry picked from commit f5b1183610)
2018-05-22 14:54:14 +03:00
Miss Islington (bot) ab90ea2a9c
Fix lambda parameters being refered as arguments (GH-7037)
(cherry picked from commit 268cc7c3f8)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-05-22 01:07:35 -07:00
Miss Islington (bot) 0c1e7d8122
bpo-33583: Add note in PyObject_GC_Resize() doc (GH-7021)
(cherry picked from commit 1179f4b40f)

Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
2018-05-21 19:18:41 -07:00
Miss Islington (bot) 983e9653e0
bpo-33580: Make binary/text file glossary entries follow most common "see also" style. (GH-6991)
(cherry picked from commit 0c4be82890)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-05-20 08:57:42 -07:00
Miss Islington (bot) 82c9adb3f9
bpo-30940: Updating round() docs. (GH-6342)
(cherry picked from commit 900c48dba3)

Co-authored-by: Lisa Roach <lisaroach14@gmail.com>
2018-05-20 08:29:45 -07:00
Miss Islington (bot) cef1f870be
Docs: be less specific about python versions (GH-6985)
CPython 3.5 is old now, and we don't bump this version often,
so lets avoid using specific versions.
(cherry picked from commit 9572132ab3)

Co-authored-by: Eitan Adler <grimreaper@users.noreply.github.com>
2018-05-20 08:09:58 -07:00
Miss Islington (bot) 10a122c0d5
bpo-23722: Fix docs for future __classcell__ changes. (GH-6999)
(cherry picked from commit 8ae8e6af37)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-05-19 22:47:05 -07:00
Julien Palard 66b3f53db9
[3.6] Fix typos '.::' should typically just be '::'. (GH-6165). (GH-6895)
(cherry picked from commit 78553138be)
2018-05-19 09:28:28 +02:00
Miss Islington (bot) a5f33a899f bpo-19950: Clarify unittest TestCase instance use. (GH-6875) (GH-6939)
(cherry picked from commit dff46758f2)

Co-authored-by: Gregory P. Smith <greg@krypto.org> Google
2018-05-18 17:55:05 -07:00
Andrés Delfino fb5d0aa116 [3.6] bpo-33518: Add PEP entry to documentation glossary (GH-6860) (#6935)
(cherry picked from commit d5f1442608)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-05-19 01:44:21 +02:00
Miss Islington (bot) e6e440ad5c
Fix C API docs: PyCapsule_Import always set an exception on failure. (GH-6967)
(cherry picked from commit bde3e0bf09)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-05-18 06:53:42 -07:00
Steve Dower 0d8f83f59c
bpo-33522: Enable CI builds on Visual Studio Team Services (GH-6865) (GH-6925) 2018-05-17 09:46:00 -04:00
Stéphane Wirtel e4cd12d3d3 [3.6] bpo-33503: Fix the broken pypi link in the source and the documentation (GH-6814) (GH-6885)
(cherry picked from commit 19177fbd5d)

Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
2018-05-16 10:08:23 -04:00
Petr Viktorin e618e96581
bpo-28167: bump platform.linux_distribution removal to 3.8 (GH-6864)
This is a backport of the documentation part of GH-6862

Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
2018-05-15 13:31:47 -04:00
Travis DePrato 295465dc29 Add AsyncContextManager to typing module documentation. (GH-6823) 2018-05-14 22:07:21 -04:00
Miss Islington (bot) 914bad6e2c
Add versionchanged in create_datagram_endpoint doc (GH-4697)
Most of the parameters were added in 3.4.4 (b9bf913ab3), but this
change was not documented
(cherry picked from commit 0ded580403)

Co-authored-by: Romuald Brunet <romuald@chivil.com>
2018-05-14 13:12:47 -07:00
Miss Islington (bot) 9fd5b5fdf8
bpo-22069: Update TextIO documentation (GH-6609)
Clarify that flush is implied when the call to write contains a newline character.
(cherry picked from commit 7ffd4c58fa)

Co-authored-by: Elena Oat <oat.elena@gmail.com>
2018-05-14 09:18:07 -07:00
Miss Islington (bot) 7488c79b60
bpo-26701: Tweak the documentation for special methods in int(). (GH-6741)
(cherry picked from commit df00f04825)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-05-10 07:38:20 -07:00
Miss Islington (bot) fa40fc0593
bpo-13525: Fix incorrect encoding name in the tutorial example. (GH-6738)
(cherry picked from commit ddb6215a55)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-05-09 02:00:13 -07:00
Miss Islington (bot) 6079b607d3
Fix superfluous if in documentation. (GH-6728)
(cherry picked from commit b3c369861b)

Co-authored-by: Julien Palard <julien@palard.fr>
2018-05-09 01:10:12 -07:00
Miss Islington (bot) eb5abdc708 bpo-33400: Clarified documentation to indicate no strict adherence to ISO 8601. (GH-6703)
(cherry picked from commit c4994dc00d)

Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
2018-05-04 23:02:48 +01:00
Miss Islington (bot) dc5c92fcb2
bpo-33378: Add Korean to the language switcher. (GH-6627)
(cherry picked from commit 5779483299)

Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
2018-05-01 02:47:17 -07:00
Miss Islington (bot) 9a039d5679
bpo-32362: Fix references to non-existent multiprocessing.Connection() (GH-6223)
(cherry picked from commit 9f3535c9cd)

Co-authored-by: Bo Bayles <bbayles@gmail.com>
2018-04-29 12:11:01 -07:00
Andrés Delfino 4533494ac5 [3.6] bpo-33280: Reorganize external Tcl/Tk references. (GH-6473). (#6602)
(cherry picked from commit 67a8f4fed3)

Co-authored-by: Andrés Delfino <34587441+andresdelfino@users.noreply.github.com>
2018-04-26 17:10:10 +03:00
Miss Islington (bot) 0d19fa917c
Mention both relevant PEPs in function annotations tutorial (GH-6304)
Patch by Neeraj Badlani.
(cherry picked from commit 643ff711fa)

Co-authored-by: Neeraj Badlani <neerajbadlani@gmail.com>
2018-04-25 11:02:07 -07:00
Miss Islington (bot) 5c0a8bb1c2
bpo-33297: Mention Pillow to work with more image formats. (GH-6505)
Also update PIL doc references to Pillow.
(cherry picked from commit b81ca28b37)

Co-authored-by: Andrés Delfino <34587441+andresdelfino@users.noreply.github.com>
2018-04-21 06:04:08 -07:00
Terry Jan Reedy 82de43fdd5
[3.6] Spelling fixes to docs, docstrings, and comments (GH-6374) (#6558)
(cherry picked from commit 61f82e0e33)
2018-04-20 20:49:07 -04:00
Miss Islington (bot) 0eadb42596
Clarify that __path__ can't be just any value (GH-6554)
(cherry picked from commit 441d945eb3)

Co-authored-by: Brett Cannon <brettcannon@users.noreply.github.com>
2018-04-20 16:49:58 -07:00
Miss Islington (bot) f44ce356a6
bpo-33283: Mention PNG as a supported format by Tcl/Tk. (GH-6479)
(cherry picked from commit 4b685bf719)

Co-authored-by: Andrés Delfino <34587441+andresdelfino@users.noreply.github.com>
2018-04-17 03:10:39 -07:00
Miss Islington (bot) 70955450bd
fix pydoc-topics to work with Sphinx 1.7 (GH-6475)
In fact, we now require a newer Sphinx version because APIs have moved around.
(cherry picked from commit acfb087f9f)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
2018-04-16 23:38:06 -07:00
Miss Islington (bot) c0a0c64fe2 Revert 725476222a (GH-6494) (GH-6496)
This note in documentation was never true.
(cherry picked from commit a00d440edb)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2018-04-16 20:35:13 -07:00
Miss Islington (bot) ab99475b66
Remove to-be-deprecated urllib.request.urlretrieve function reference (GH-6454)
(cherry picked from commit c89b221758)

Co-authored-by: Andrés Delfino <34587441+andresdelfino@users.noreply.github.com>
2018-04-16 07:21:57 -07:00
Miss Islington (bot) e98e3385f2
Fix error messages in argparse examples (GH-6435)
The examples in argparse documentation use `error: too few arguments`
error message which was removed in this commit f97c59a in 2011.
(cherry picked from commit 04e8293465)

Co-authored-by: suic86 <marko.gabriel.cz@gmail.com>
2018-04-11 12:05:52 -07:00
Serhiy Storchaka 1429ac9f2c
[3.6] Improve highlighting of some code blocks. (GH-6401). (GH-6424)
(cherry picked from commit 46936d5a71)
2018-04-09 17:57:07 +03:00
Miss Islington (bot) 280a767d02 Add a prepend() recipe to teach a chain() idiom (GH-6415) (GH-6422)
(cherry picked from commit 9265dd72e5)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2018-04-08 14:37:47 -07:00
Antoine Pitrou b603609e9d
[3.6] bpo-33201: Modernize "Extension types" doc (GH-6337) (GH-6412)
* bpo-33201: Modernize "Extension types" doc
* Split tutorial and other topics
* Some small fixes
* Address some review comments
* Rename noddy* to custom* and shoddy to sublist
* Fix markup.
(cherry picked from commit 1d80a56173)
2018-04-07 18:35:35 +02:00
Miss Islington (bot) 70c4446547 [3.6] bpo-8243: Doc patch for curses.window.addstr and curses.window.addch (GH-5179) (GH-6406)
(cherry picked from commit ef5ce884a4)

Co-authored-by: Jay Crotts <crotts.jay@gmail.com>
2018-04-06 22:01:03 -04:00
INADA Naoki 29bc6f6347
bpo-33195: Doc: Deprecate Py_UNICODE in c-api/arg (GH-6329)
Py_UNICODE is deprecated since Python 3.3.
But the deprecation is missed in the c-api/arg document.
(cherry picked from commit 42ec190)
2018-04-05 18:08:43 +09:00
Miss Islington (bot) fa5157e049
closes bpo-33202: fix os.walk mentioning os.listdir instead of os.scandir (GH-6335)
(cherry picked from commit badb894bbb)

Co-authored-by: Andrés Delfino <34587441+andresdelfino@users.noreply.github.com>
2018-04-02 20:39:14 -07:00
Miss Islington (bot) ddc99713d9
Fix socket type in DatagramHandler documentation: TCP -> UDP (GH-6272)
(cherry picked from commit 233de021d9)

Co-authored-by: Mike DePalatis <mike@depalatis.net>
2018-03-30 00:53:35 -07:00