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
Miss Islington (bot)
18fdc87207
bpo-33126: Document PyBuffer_ToContiguous() (GH-6292) (GH-6293)
...
(cherry picked from commit aa50bf08e6 )
Co-authored-by: Antoine Pitrou <pitrou@free.fr>
2018-03-28 17:47:34 +02:00
Miss Islington (bot)
c8698cff7c
bpo-27212: Modify islice recipe to consume initial values preceding start (GH-6195) (GH-6267)
...
(cherry picked from commit da1734c58d )
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
2018-03-26 19:24:02 -07:00
Miss Islington (bot)
a413a91949
Fix description about SimpleXMLRPCServer constructor parameter bind_and_activate. (GH-776)
...
Passing True as the `bind_and_activate` *do* immediately opening and binding to their socket.
(cherry picked from commit e6223579c8 )
Co-authored-by: cocoatomo <cocoatomo77@gmail.com>
2018-03-26 05:20:25 -07:00
Miss Islington (bot)
643a781188
bpo-27428: Fix WindowsRegistryFinder documentation to list appropriate ABC (GH-6061)
...
(cherry picked from commit 5cbb84106e )
Co-authored-by: Himanshu Lakhara <himanshulakhara1947@gmail.com>
2018-03-23 14:50:09 -07:00
Miss Islington (bot)
fce39ab1c8
Fix a reference to the MRE book in re docs (GH-1113)
...
Reported by Maksym Nikulyak on docs.p.o.
(cherry picked from commit a0a42d22d8 )
Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
2018-03-23 18:55:46 +03:00
Miss Islington (bot)
ae2feb32e7
bpo-27683: Fix a regression for host() of ipaddress network objects (GH-6016)
...
The result of host() was not empty when the network is constructed by a tuple containing an
integer mask and only 1 bit left for addresses.
(cherry picked from commit 10b134a07c )
Co-authored-by: Xiang Zhang <angwerzx@126.com>
2018-03-20 18:49:41 -07:00
Miss Islington (bot)
481cbe8d62
bpo-18802: Add more details to ipaddress documentation (GH-6083)
...
Original patch by Jon Foster and Berker Peksag.
(cherry picked from commit 5609b78392 )
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
2018-03-20 17:59:00 -07:00
Miss Islington (bot)
47a0e64ccf
bpo-28247: Document Windows executable creation in zipapp (GH-6158)
...
(cherry picked from commit 4be79f2946 )
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
2018-03-20 15:52:41 -07:00
Miss Islington (bot)
1da0479f68
bpo-32374: m_traverse may be called with m_state=NULL (GH-5140)
...
Multi-phase initialized modules allow m_traverse to be called while the
module is still being initialized, so module authors may need to account
for that.
(cherry picked from commit c2b0b12d1a )
Co-authored-by: Marcel Plch <gmarcel.plch@gmail.com>
2018-03-16 23:29:30 -07:00
Miss Islington (bot)
3f439d14ad
bpo-33045: Fix typos in SSL documentation (GH-6065)
...
(cherry picked from commit 9cf8c42f32 )
Co-authored-by: Matt Eaton <agnosticdev@gmail.com>
2018-03-11 04:26:01 +03:00