Miss Islington (bot)
4ec2149708
bpo-29030: Document interaction between *choices* and *metavar*. (GH-23884) (GH-23894)
2020-12-22 10:19:24 -08:00
Andre Delfino
7c48859eeb
[3.9] [doc] Fix a few margins due to bad markup (GH-23619). (GH-23859)
...
(cherry picked from commit 96a09df644 )
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2020-12-21 18:53:50 -08:00
Andre Delfino
e89993cff4
[3.9] [doc] Fix erroneous backslashes in signatures and names (GH-23658) (GH-23827)
...
The issue being resolved is shown in the 3.10 docs (if you select docs for older versions you won't see a visual glitch).
The newer sphinx version that produces the 3.10 docs doesn't treat the backslash to escape things in some situations it previously did..
(cherry picked from commit dcc997cd28 )
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2020-12-21 18:52:19 -08:00
Miss Islington (bot)
40b4c405f9
bpo-42572: Improve argparse docs for the type parameter. (GH-23849) (GH-23869)
2020-12-20 10:51:20 -08:00
Miss Islington (bot)
a34ab8188e
bpo-41724: Explain when the conversion is not possible with detect_types enabled (GH-23855) (GH-23862)
...
* Explain when the conversion is not possible with detect_types enabled
(cherry picked from commit 09a36cdfb7 )
Co-authored-by: sblondon <sblondon@users.noreply.github.com>
Co-authored-by: sblondon <sblondon@users.noreply.github.com>
2020-12-19 19:02:25 -05:00
kj
597ebc8cf6
[3.9] bpo-42675: Document collections.abc.Callable changes (GH-23839) ( #23852 )
2020-12-19 14:32:06 -08:00
Miss Islington (bot)
d458d8dab0
bpo-42559: Not that getrandbits() is non-negative. (GH-23843) (GH-23851)
2020-12-18 19:10:06 -08:00
Miss Islington (bot)
782665885c
bpo-34805: Guarantee that __subclasses__() is in definition order. (GH-23844) (GH-23850)
2020-12-18 17:17:32 -08:00
Miss Islington (bot)
eef33e6d49
bpo-42670: Fix a missing word in the itertools.product() docs (GH-23823) (GH-23824)
2020-12-18 16:55:52 -08:00
Miss Islington (bot)
4b412e830d
bpo-36769: Document that fnmatch.filter supports any kind of iterable (GH-13039)
...
(cherry picked from commit e8d2264210 )
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2020-12-18 11:34:27 -08:00
Miss Islington (bot)
14619924c3
bpo-17140: Document multiprocessing's ThreadPool (GH-23812)
...
Up until now, the `multiprocessing.pool.ThreadPool` class has gone
undocumented, despite being a public class in multiprocessing that is
included in `multiprocessing.pool.__all__`.
(cherry picked from commit 84ebcf271a )
Co-authored-by: Matt Wozniski <mwozniski@bloomberg.net>
2020-12-18 05:27:02 -08:00
Miss Islington (bot)
b812e236df
bpo-39096: Format specification documentation fixes for numeric types (GH-23575)
...
(cherry picked from commit 886b2e5c7a )
Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
2020-12-18 01:49:19 -08:00
Miss Islington (bot)
2fba8445a4
Fix indentation for get_stats_profile() docs (GH-23618)
...
The existing method is indented one too many times which
makes it look like a sub-method of print_callees().
(cherry picked from commit a6ba2b9015 )
Co-authored-by: Matthew Suozzo <msuozzo@google.com>
2020-12-17 01:18:39 +02:00
Miss Islington (bot)
aba12b67c1
[3.9] bpo-42517: [Enum] deprecate private name members (GH-23722) (GH-23748)
...
private names will raise a DeprecationWarning; in 3.10 they will become normal attributes
2020-12-14 15:56:58 -08:00
Andre Delfino
c1a3f9a9cb
[3.9] [doc] Link to issue regarding logging.disable level param default value GH-23732
...
(cherry picked from commit 2a35137328 )
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2020-12-10 06:20:04 -08:00
Miss Islington (bot)
facca72eae
bpo-38843: Document behavior of default when the attribute is already set (GH-23653) ( #23668 )
...
(cherry picked from commit 752cdf21eb )
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2020-12-06 21:17:09 -08:00
Miss Islington (bot)
aef482f7cf
Fix bz2 examples markup (GH-23580)
...
(cherry picked from commit 80a429eae9 )
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2020-12-01 02:04:23 -08:00
Julien Palard
7e80c0f40e
[3.9] [doc] Fix smtplib and xml.dom.minidom mark-up (GH-22769) (GH-23380)
2020-12-01 08:58:36 +01:00
Miss Islington (bot)
aab9390334
bpo-42501: Revise the usage note for Enums with the choices (GH-23563) (GH-23573)
2020-11-30 13:21:08 -08:00
Miss Islington (bot)
a83119d7be
bpo-42450: Minor updates to the itertools recipes (GH-23555) (GH-23562)
2020-11-29 11:14:10 -08:00
Miss Islington (bot)
cf47b3969e
bpo-39096: Improve description of 'e', 'f' and 'g' presentation types (GH-23537) (GH-23550)
...
* Improve description of 'e', 'f' and 'g' presentation types
* Drop the 'E' from Scientific 'E' notation; remove >= 0 qualifications
* Fix false statement that the alternate form is valid for Decimal
* Nitpick: remove the Harvard/Oxford comma
* Add note that the decimal point is also removed if no digits follow it, except in alternate form
(cherry picked from commit c642374b3e )
Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
2020-11-29 09:58:01 +00:00
Miss Islington (bot)
cfb2f79634
Fix dis markup (GH-23524)
...
(cherry picked from commit fa840cc81d )
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2020-11-28 14:06:05 -08:00
Miss Islington (bot)
5d54dfadcf
Fix multiprocessing markup (GH-23525)
...
(cherry picked from commit 4b44472966 )
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2020-11-28 14:05:37 -08:00
Miss Islington (bot)
b6416052f7
Typo (GH-23482) ( #23483 )
...
(cherry picked from commit 989af25616 )
Co-authored-by: Jesús Cea <jcea@jcea.es>
Co-authored-by: Jesús Cea <jcea@jcea.es>
2020-11-24 01:11:13 +01:00
Miss Islington (bot)
41d1ebb33e
Doc: fix typo in typing.Type docs (GH-23460)
...
(cherry picked from commit 5ef53a88f3 )
Co-authored-by: John Belmonte <john@neggie.net>
2020-11-22 07:16:48 -08:00
Miss Islington (bot)
4f87126969
bpo-42391: Clarify documentation of TestCase.assertIs (GH-23348)
...
Removing 'evaluate' makes it more consistent with other assertX entries.
(cherry picked from commit bd8c22e1fa )
Co-authored-by: Ram Rachum <ram@rachum.com>
2020-11-21 22:24:21 -08:00
Miss Islington (bot)
89d74d0acd
Clarify that Set._from_iterable is not required to be a classmethod. (GH-23272) (GH-23450)
2020-11-21 12:20:26 -08:00
Miss Islington (bot)
3b5b1c82a3
Fix wrong availability for signal.SIGCHLD (GH-23285) ( #23425 )
...
I believe this is a mistake. SIGCHLD is only available on Unix systems, not Windows.
(cherry picked from commit 4c24b08cd3 )
Co-authored-by: Zhang Maiyun <myzhang1029@hotmail.com>
Co-authored-by: Zhang Maiyun <myzhang1029@hotmail.com>
2020-11-21 13:22:46 +02:00
Miss Islington (bot)
c963da269d
bpo-42407: Use possessive appostrophe in multiprocessing doc (GH-23400)
...
(cherry picked from commit 6edf06b24a )
Co-authored-by: ArioA <ArioA@users.noreply.github.com>
2020-11-20 19:01:05 -08:00
Miss Islington (bot)
f552f4b2d6
bpo-42360: Add advice to help avoid pickling issues. (GH-23305) (GH-23429)
2020-11-20 13:19:49 -08:00
Miss Islington (bot)
1051ca4d97
bpo-42345: Add whatsnew and versionchanged for typing.Literal in 3.9 (GH-23386)
...
* Whatsnew entry in 3.9 same as the one in 3.10.
* versionchanged for typing.Literal docs
Needs backport to 3.9.
(cherry picked from commit e1dc0db8c7 )
Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com>
2020-11-19 09:59:10 -08:00
Miss Islington (bot)
2acd9d0c6c
bpo-42345: Fix hash implementation of typing.Literal (GH-23383)
...
Fix hash implementation of `typing.Literal`.
Update docs regarding `typing.Litaral` caching.
Base implementation was done in PR GH-23294.
(cherry picked from commit 1b54077ff6 )
Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com>
2020-11-19 08:51:01 -08:00
Miss Islington (bot)
f9fa920c30
[3.9] bpo-38320: Clarify that expectedFailure is satisfied by either failure or error of the test. (GH-22740) (GH-22783)
...
(cherry picked from commit fa8748271a )
Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
2020-11-18 14:37:37 -08:00
Miss Islington (bot)
7c4d8fa82a
bpo-42153 Fix link to IMAP documents in imaplib.rst (GH-23297)
...
The University of Washington stopped hosting the IMAP documents. Link to a rescued copy on GitHub.
(cherry picked from commit aa01011003 )
Co-authored-by: Yash Shete <universeyash4@gmail.com>
2020-11-15 21:27:03 -08:00
Miss Islington (bot)
2369759a47
bpo-42317: Improve docs of typing.get_args concerning Union (GH-23254)
...
(cherry picked from commit c3b9592244 )
Co-authored-by: Dominik1123 <15989985+Dominik1123@users.noreply.github.com>
2020-11-15 17:52:22 -08:00
Miss Islington (bot)
2837241f22
fix typo in ThreadedChildWatcher docs (GH-23277)
...
(cherry picked from commit 8836574a0f )
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
2020-11-14 04:24:21 -08:00
Miss Islington (bot)
4defeb0071
bpo-42344: Improve pseudo implementation for SimpleNamespace (GH-23264) (GH-23270)
...
(cherry picked from commit bbeb2d266d )
Co-authored-by: Jürgen Gmach <juergen.gmach@googlemail.com>
Co-authored-by: Jürgen Gmach <juergen.gmach@googlemail.com>
2020-11-13 13:19:05 -05:00
Miss Islington (bot)
bc77704783
[3.9] bpo-42086: Document AST operator nodes acts as a singleton (GH-22896) (GH-22897)
...
Automerge-Triggered-By: GH:gvanrossum
(cherry picked from commit b37c994e5a )
Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com>
2020-11-13 01:05:41 -08:00
Miss Islington (bot)
2e5bd4f677
Minor wording change in concurrent.futures. (GH-23194)
...
Fixes a grammar problem by adding a missing "as", and clarifies the wording of the valid ranges for max_workers.
(cherry picked from commit fd6f6fa403 )
Co-authored-by: Don Kirkby <donkirkby@users.noreply.github.com>
2020-11-08 01:45:45 -08:00
Miss Islington (bot)
6255296c50
Remove outdated reference to pywin32 from platform module (GH-22005)
...
(cherry picked from commit 7c01f1540f )
Co-authored-by: Andre Delfino <adelfino@gmail.com>
2020-11-06 11:22:00 -08:00
Miss Skeleton (bot)
6b7a90db36
bpo-42180: fix plural in arguments and control (GH-23015) (GH-23114)
...
https://bugs.python.org/issue42180
(cherry picked from commit b76a840021 )
Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
2020-11-03 01:08:38 +00:00
Miss Skeleton (bot)
ff852aabf2
bpo-42230: Improve asyncio documentation regarding accepting sets vs iterables (GH-23073)
...
People call wait() and as_completed() with various non-set iterables,
a list should be the most common but there are others as well[1].
Considering typeshed also documents wait()[2] and as_completed()[3]
as accepting arbitrary iterables I think it's a good idea to document
the status quo better.
[1] https://github.com/aio-libs/aiokafka/pull/672
[2] 620989bac5/stdlib/3/asyncio/tasks.pyiGH-L161
[3] 620989bac5/stdlib/3/asyncio/tasks.pyiGH-L40
(cherry picked from commit 3d86d090dc )
Co-authored-by: Jakub Stasiak <jakub@stasiak.at>
2020-11-02 03:19:45 -08:00
kj
dbaa07db67
[3.9] bpo-42198: Document __new__ for types.GenericAlias (GH-23039) (GH-23061)
...
(cherry picked from commit bcbf758476 )
2020-10-31 08:05:36 -07:00
Miss Skeleton (bot)
a39068bf48
bpo-42198: Link to GenericAlias in typing and expressions (GH-23030)
...
Follow up to 7cdf30fff3 and 4173320920 . This addresses the point "1. Update links in typing, subscription and union to point to GenericAlias." in the bpo for this PR.
(cherry picked from commit 9129af6050 )
Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com>
2020-10-29 21:23:33 -07:00
Miss Skeleton (bot)
b626d2218c
bpo-42061: Document __format__ for IP addresses (GH-23018)
...
Automerge-Triggered-By: GH:ericvsmith
(cherry picked from commit 3317466061 )
Co-authored-by: Teugea Ioan-Teodor <teodor.teugea@gmail.com>
2020-10-29 15:38:12 -07:00
kj
577d7c4e62
[3.9] bpo-41805: Documentation for PEP 585 (GH-22615) (GH-23016)
...
Backport of #22615 to 3.9 since that couldn't be auto-merged due to conflicts.
2020-10-28 08:33:36 -07:00
Miss Skeleton (bot)
df4790c071
Add a link to buffer protocol in bytearray() doc (GH-22675)
...
(cherry picked from commit 0f25c231b3 )
Co-authored-by: Antoine <43954001+awecx@users.noreply.github.com>
2020-10-25 22:59:46 -07:00
Miss Skeleton (bot)
af891a962b
bpo-39108: Document threading issues for random.gauss() (GH-22928) (GH-22972)
2020-10-25 08:48:38 -07:00
Miss Skeleton (bot)
2cccc29eaf
bpo-29981: Add examples and update index for set, dict, and generator comprehensions'(GH-20272)
...
Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr>
(cherry picked from commit 2d55aa9e37 )
Co-authored-by: Florian Dahlitz <f2dahlitz@freenet.de>
2020-10-24 19:53:41 -07:00
Miss Skeleton (bot)
427cb0aa78
bpo-42127: Document effect of cached_property on key-sharing dictionaries (GH-22930) (GH-22955)
2020-10-24 19:00:14 -07:00