Łukasz Langa
168879e366
[3.9] Update URLs in comments and metadata to use HTTPS (GH-27458) (GH-27480)
...
(cherry picked from commit be42c06bb0
)
Co-authored-by: Noah Kantrowitz <noah@coderanger.net>
2021-07-30 16:34:04 +02:00
Miss Islington (bot)
c2c322b354
Fix typo in ast.rst (GH-27449) (GH-27455)
...
Co-authored-by: HaeckelK <haeckelk.github@gmail.com>
(cherry picked from commit 6b61d74a3b
)
2021-07-29 19:41:51 +02:00
Miss Islington (bot)
6d4af4dfd6
bpo-44765: [doc] fix typo (GH-27430) (GH-27451)
...
(cherry picked from commit ccefa8a905
)
Co-authored-by: Pavel <69010336+pavel-lexyr@users.noreply.github.com>
2021-07-29 19:23:17 +02:00
Dennis Sweeney
7d77368807
[doc] Remove reference to obsolute opcode (GH-27402)
2021-07-28 20:12:17 +01:00
Miss Islington (bot)
9337c60ba8
bpo-44763: [doc] remove repetitive sentence from textwrap.wrap (GH-27423) (GH-27427)
...
(cherry picked from commit cb1d76f10a
)
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-07-28 19:31:19 +02:00
Miss Islington (bot)
019a8b08fa
bpo-44544: [doc] list all textwrap func kwargs (GH-26999) (GH-27425)
...
(cherry picked from commit c1e39d6b11
)
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-07-28 19:29:47 +02:00
Miss Islington (bot)
1b82dc1a61
Add missing end of sentence in docs (GH-27280) (GH-27420)
...
(cherry picked from commit 531e2fbc52
)
Co-authored-by: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com>
2021-07-28 16:54:40 +02:00
Miss Islington (bot)
f152c57969
Fix typo in sqlite3.rst (GH-27415) (GH-27418)
...
preceeding -> preceding
(cherry picked from commit fbe87023bf
)
Co-authored-by: Ikko Ashimine <eltociear@gmail.com>
2021-07-28 16:33:38 +02:00
Miss Islington (bot)
08870d0443
Spell out 's.pop() or s.pop(i)' (GH-27398) (GH-27413)
...
(cherry picked from commit 2ff5bb4908
)
Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
2021-07-28 15:57:03 +02:00
Miss Islington (bot)
cc602a71df
docs: replace "Mac OS X" -> "macOS" (GH-27364) (GH-27375)
...
"Mac OS X" has been rebranded as macOS
https://www.apple.com/macos
(cherry picked from commit 5fdd2a14ce
)
Co-authored-by: partev <petrosyan@gmail.com>
2021-07-26 16:22:58 -04:00
Miss Islington (bot)
3f1389459a
The current documentation says it returns None if the name is not found, but (GH-26785) (GH-27372)
...
the implementation uses [] and will raise KeyError instead.
Noticed by @srittau in python/typeshed@5659.
(cherry picked from commit f22737abfa
)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2021-07-26 21:35:46 +02:00
Miss Islington (bot)
7482fff297
bpo-43443: Clarify difference between shelve objects and dicts (GH-27004) (GH-27370)
...
(cherry picked from commit c97c2a050c
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-07-26 21:32:49 +02:00
Miss Islington (bot)
ce2033694e
[3.9] bpo-43184: Add information about added attribute and method. (GH-27347) (GH-27353)
...
(cherry picked from commit 50b72768ff
)
2021-07-25 20:30:11 +01:00
Miss Islington (bot)
5d9c86e340
bpo-44713: [doc fix]: typo in subprocess.rst (GH-27297) ( #27327 )
...
This fixes a small typo. The code fragment should not be quoted. Thank you
@merwok for the feedback.
(cherry picked from commit 7d25254cf0
)
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-07-24 12:30:25 +02:00
Miss Islington (bot)
5ffbb05f1c
bpo-14879: [doc] clarify how to check for errors from subprocess.Popen(..., shell=True) (GH-26755) (GH-27289)
...
(cherry picked from commit 50ffbe3daf
)
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-07-22 19:25:31 +01:00
Miss Islington (bot)
654ead25ab
Fix typo in collections.rst (GH-27270) ( #27284 )
2021-07-22 10:38:40 +02:00
Miss Islington (bot)
c8e35abfe3
bpo-30511: Add note on thread safety to shutil.make_archive() (GH-26933) (GH-27275)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 64f54b7ccd
)
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-07-21 11:04:42 +02:00
Miss Islington (bot)
049e98b2b7
[3.9] bpo-43958: Document importlib.metadata.PackagePath.locate method (GH-25669) (GH-27221)
...
(cherry picked from commit b38b2fa021
)
Co-authored-by: Paul Moore <p.f.moore@gmail.com>
Automerge-Triggered-By: GH:jaraco
2021-07-17 19:53:00 -07:00
Miss Islington (bot)
421b543311
bpo-44639: fix typo in sqlite.rst (transation => transaction) (GH-27145) (GH-27149)
...
To my understanding, this is supposed to say "transaction".
See the relevant source:
a158b20019/Modules/_sqlite/connection.cGH-L1434-L1467
(cherry picked from commit 1ca27f2647
)
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-07-14 23:49:33 +01:00
Miss Islington (bot)
a3d20bfee3
bpo-43126: Expand docs on io.IOBase.readlines() method (GH-27061) ( #27114 )
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 3b5b99da4b
)
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-07-13 16:41:31 +02:00
Miss Islington (bot)
105e6cd67c
bpo-44514: Add doctest testcleanup for configparser and bz2 (GH-26909) ( #27111 )
...
Add testcleanup section to configparser and bz2 documentation which
removes temporary files created in the filesystem when 'make doctest'
is run.
(cherry picked from commit 48a5aa7f12
)
Co-authored-by: Kevin Follstad <kfollstad@gmail.com>
2021-07-13 16:33:50 +02:00
Miss Islington (bot)
c786988b19
bpo-42194: Add "New in version: 3.9" to argparse.BooleanOptionalAction (GH-23026) ( #27098 )
...
(cherry picked from commit da2e673c53
)
Co-authored-by: David Sanders <shang.xiao.sanders@gmail.com>
2021-07-12 18:23:25 +02:00
Miss Islington (bot)
47abf24036
bpo-26329: update os.path.normpath documentation (GH-20138) ( #27095 )
...
(cherry picked from commit 66c5853406
)
Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
2021-07-12 17:22:33 +02:00
Miss Islington (bot)
779983ed7f
bpo-43207: InspectLoader.is_package is not an abstract method (GH-24517) ( #26322 )
...
Making the description of `InspectLoader.is_package` aligned with the current implementation.
Automerge-Triggered-By: GH:jaraco
(cherry picked from commit 8b9310d902
)
Co-authored-by: Junnosuke Kuroda <Isa-rentacs@users.noreply.github.com>
2021-07-12 17:11:59 +02:00
Steve Dower
863e3d5c7e
bpo-41180: Replace marshal code.__new__ audit event with marshal.load[s] and marshal.dumps (GH-26971)
2021-06-30 18:52:39 +01:00
Miss Islington (bot)
02859df105
bpo-38062: [doc] clarify that atexit uses equality comparisons internally. (GH-26935) (GH-26957)
...
(cherry picked from commit 12803c59d5
)
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-06-29 18:53:07 +01:00
Miss Islington (bot)
3ba65cdcef
bpo-42588: Update the docs for the TopologicalSorter.static_order() method (GH-26834) (GH-26952)
...
(cherry picked from commit 0d7f7975d5
)
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-06-29 15:19:05 +01:00
Jason R. Coombs
17b916737b
[3.9] bpo-37741: make importlib.metadata docs discoverable through a module directive. (GH-25415) (GH-26500)
...
Automerge-Triggered-By: GH:jaraco.
(cherry picked from commit 23acadcc1c
)
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
2021-06-27 18:05:27 -04:00
Miss Islington (bot)
ef89b2bf42
[doc] Improve punctuation atexit doc (GH-25629) (GH-26857)
...
(cherry picked from commit a6b47de07a
)
Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
2021-06-22 18:10:50 +01:00
Miss Islington (bot)
a65df3f9fc
bpo-41621: Document defaultdict's default_factory parameter (GH-21945)
...
It defaults to None and is positional only.
(cherry picked from commit d1ae57027f
)
Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
2021-06-22 07:42:41 -07:00
Miss Islington (bot)
7f021952b2
bpo-38291: Remove mention of typing.io and typing.re again (GH-26113)
...
They were originally removed in GH-10173 per bpo-35089, but then
readded in GH-21574. Cf. bpo-38291 for decision to remove.
(cherry picked from commit 8a76683cfb
)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
2021-06-14 08:07:05 -07:00
Terry Jan Reedy
d5f8bd60e1
[3.9] bpo-44322: Document more SyntaxError details. (GH-26562)
...
1. SyntaxError args have a tuple of other attributes.
2. Attributes are adjusted for errors in f-string field expressions.
3. Compile() can raise SyntaxErrors.
(cherry picked from commit 67dfa6f2a5
)
2021-06-06 22:57:53 -04:00
Miss Islington (bot)
ea298e1e33
bpo-44279: revert 'exceptions are raised' back to 'exceptions occur' (GH-26492) (GH-26539)
...
(cherry picked from commit dda9ecbfec
)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2021-06-04 23:09:45 +01:00
Irit Katriel
9a68862497
[3.9] bpo-44279: [doc] reword contextlib.suppress documentation (GH-26428) (GH-26481)
...
(cherry picked from commit 87272b70f1
)
Co-authored-by: MapleCCC <littlelittlemaple@gmail.com>
2021-06-01 23:15:48 +01:00
Miss Islington (bot)
bee66d3cb9
bpo-41147: [doc] contextlib.redirect_stdout() provides the new stream as context var (GH-21199) (GH-26380)
...
(cherry picked from commit 46db39d7bd
)
Co-authored-by: Peter Law <PeterJCLaw@gmail.com>
2021-05-26 15:43:37 +01:00
Miss Islington (bot)
8accb8c8cc
bpo-20408: Fix memoryview() signature in docs (GH-24431)
...
(cherry picked from commit d18e5dae91
)
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-05-25 17:30:42 +03:00
Miss Islington (bot)
ab4da07923
[3.9] bpo-44195: Use 'TraversableResources' in the docs to match the implementation. (GH-26317) (GH-26335)
...
(cherry picked from commit 7148293d96
)
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
Automerge-Triggered-By: GH:jaraco
2021-05-24 10:33:03 -07:00
Mariusz Felisiak
b21193dd1e
[3.9] Remove duplicate words in docs. (GH-26167) (GH-26297)
...
(cherry picked from commit b06ed1d883
)
2021-05-22 21:56:19 +01:00
Miss Islington (bot)
11b5045b0c
bpo-8264: Document hasattr and getattr behavior for private attributes (GH-23513) (GH-26238)
...
Clarify ``getattr`` and ``setattr`` requirements for accessing name-mangled attributes
Co-Authored-By: Catalin Iacob <iacobcatalin@gmail.com>
(cherry picked from commit 2edaf6a4fb
)
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
2021-05-22 12:06:46 +01:00
Miss Islington (bot)
a373c80811
Specify Python Cookbook edition for reference (GH-26301) ( #26303 )
...
(cherry picked from commit 604cd71e50
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2021-05-21 23:48:31 +01:00
Zackery Spytz
96c9961bfe
bpo-43556: Fix the attr names for ast.expr and ast.stmt in the docs (GH-24940)
2021-05-21 21:29:12 +01:00
Miss Islington (bot)
bcd59134f5
[doc] Fix indentation in inspect documentation (GH-24846) (GH-26288)
...
(cherry picked from commit 642fdfdc04
)
Co-authored-by: Numerlor <25886452+Numerlor@users.noreply.github.com>
2021-05-21 18:06:58 +01:00
Miss Islington (bot)
dc6526dfa2
[doc] Fix typo in asyncio-eventloop documentation (GH-22311) (GH-26257)
...
(cherry picked from commit b66a03a491
)
Co-authored-by: Bruno <brunogeninatti@gmail.com>
2021-05-19 22:20:10 +01:00
Miss Islington (bot)
ab1c3d99f5
bpo-37741: make importlib.metadata docs discoverable through a module directive. (GH-25415) (GH-25417)
...
Automerge-Triggered-By: GH:jaraco
(cherry picked from commit 23acadcc1c
)
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
2021-05-19 17:06:55 -04:00
Miss Islington (bot)
9a75cc6044
bpo-40975: [doc] Identify AsyncExitStack.enter_async_context()/aclose() as coroutine methods (GH-20870) (GH-26255)
...
(cherry picked from commit c054e8f78f
)
Co-authored-by: naglis <naglis@users.noreply.github.com>
2021-05-19 21:37:52 +01:00
Miss Islington (bot)
76ed53ca7b
bpo-30593: Doc'ed that executescript() disregards isolation level (GH-26220)
...
(cherry picked from commit 9014437573
)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2021-05-19 10:32:45 +03:00
Ken Jin
632b4034ab
[3.9] bpo-42783: Documentation for asyncio.sleep(0) (GH-24002) (GH-24153)
...
Co-Authored-By: Simon Willison <swillison@gmail.com>
2021-05-18 23:31:27 +01:00
Miss Islington (bot)
c17ba233b3
bpo-41963: document that ConfigParser strips off comments (GH-26197) (GH-26213)
...
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Laura Gutierrez Funderburk <58710704+lgfunderburk@users.noreply.github.com>
Co-authored-by: Jürgen Gmach <juergen.gmach@googlemail.com>
(cherry picked from commit 02ee819126
)
2021-05-18 18:44:48 +02:00
Miss Islington (bot)
2f9ebe6fd0
[doc] Fix typo in os module (GH-24464)
...
Automerge-Triggered-By: GH:iritkatriel
(cherry picked from commit fdc7e52f5f
)
Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
2021-05-16 17:00:12 -07:00
Miss Islington (bot)
376740110e
bpo-32133: Improve numbers docs (GH-26124) (GH-26147)
2021-05-15 10:28:05 -07:00