summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* [3.10] gh-94635: Add Reference, How-to, and Explanation headings to sqlite3 ↵Erlend Egeberg Aasland2022-07-311-96/+120
| | | | | | | | | | docs (GH-94636) (#95483) Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>. (cherry picked from commit 6c439b978bf55b29f21c595e9375202d63c8208d) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com> * Fix refs
* gh-95273: Relocate sqlite3 enable load extension note (GH-95430)Miss Islington (bot)2022-07-291-12/+8
| | | | | (cherry picked from commit d92b19e1b500247f9a62b12b9da889b99fe333f6) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* gh-95432: Fixup sqlite3 tutorial example (GH-95431)Miss Islington (bot)2022-07-291-5/+5
| | | | | | | - the insert statement should have five placeholders, not four - missing ... in the multiline row list (cherry picked from commit 2fbee85931296bbeddae6358583e400ce5321f89) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* gh-95273: Improve sqlite3 class descriptions (GH-95379)Miss Islington (bot)2022-07-291-8/+34
| | | | | | Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> (cherry picked from commit e003b64f40fa28954ec967024fa811adff6cffe7) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* gh-95273: Condense sqlite3 executescript example (GH-95383) (#95419)Miss Islington (bot)2022-07-292-27/+9
| | | | | (cherry picked from commit e9c8de669d40d993489981be2973d1ea5bd10d0c) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* gh-95273: Move sqlite3 executemany examples from reference to tutorial ↵Miss Islington (bot)2022-07-293-54/+26
| | | | | | | (GH-95351) (cherry picked from commit f0bf7956e60b452208f279146f928d71eb0aa11b) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* Improve documentation for adding datetime and timedelta (gh-95403) (gh-95409)Miss Islington (bot)2022-07-291-2/+2
| | | | | | | (cherry picked from commit 6e44bf9558dbcaffd78b7c4fc7f6b474388b4a9a) Co-authored-by: BenjaminHelyer <91896754+BenjaminHelyer@users.noreply.github.com> Co-authored-by: BenjaminHelyer <91896754+BenjaminHelyer@users.noreply.github.com>
* gh-86128: Add warning to ThreadPoolExecutor docs about atexit behaviour ↵Miss Islington (bot)2022-07-281-0/+7
| | | | | | | (GH-94008) (cherry picked from commit 7df2f4d78714707cfb30d83ca99ce84ef9934892) Co-authored-by: [object Object] <lucas.wiman@gmail.com>
* Docs: Fix refs & tweak wording in sqlite3 'Using shortcut methods' (#95358)Miss Islington (bot)2022-07-281-2/+3
| | | | | | Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> (cherry picked from commit ea269b9a380a52828d4e401fa695737bcd699398) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* [3.10] gh-95273: Normalise sqlite3 reference wording (GH-95274) (#95330)Erlend Egeberg Aasland2022-07-271-42/+43
| | | | | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>. (cherry picked from commit 2361908a9d5553102f2b2294af44852a76d2ab03) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* gh-94630: Fixup sqlite3 argument spec docs for connection execute* methods ↵Miss Islington (bot)2022-07-271-5/+5
| | | | | | | (GH-95319) (cherry picked from commit 2b37395612ece0a8c37439801087ba9e2c56702f) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* gh-94635: Add sqlite3 'Introduction' and 'Tutorial' doc headings (GH-95269)Miss Islington (bot)2022-07-271-1/+11
| | | | | (cherry picked from commit 2e35a13e46663acf665da06267c54e66c7ecf18d) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* [3.10] gh-95235: Add explicit parameter list to some sqlite3 methods ↵Erlend Egeberg Aasland2022-07-261-45/+87
| | | | | | | | (GH-95240) (#95268) Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>. (cherry picked from commit 5012bedc7ca7d78b5a42bf60eef55bac263f4060) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* gh-95235: Document undocumented parameters in sqlite3 functions and methods ↵Miss Islington (bot)2022-07-251-13/+17
| | | | | | | | (GH-95236) Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> (cherry picked from commit ac6a94c669cba8c8384a61b4304c87cc83728335) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* Doc: Add omitted secondary prompt in inputoutput tutorial (GH-30317) (#95159)Miss Islington (bot)2022-07-231-1/+1
| | | | | | | | For the continuation lines, "..." should present as secondary prompt (cherry picked from commit de28ee8f755760fda13b481a34b1f326984d293a) Co-authored-by: Chenwei Xiao <chanvinxiao@163.com> Co-authored-by: Chenwei Xiao <chanvinxiao@163.com>
* Fix copy-friendliness of tutorial example (GH-93424)Miss Islington (bot)2022-07-221-0/+1
| | | | | (cherry picked from commit 34d11f1b0c0e1936a37581e0fb0daec637afca47) Co-authored-by: Chenwei Xiao <chanvinxiao@163.com>
* Fix async method reference links in `compound_stmts` docs (GH-94935)Miss Islington (bot)2022-07-221-2/+2
| | | | | (cherry picked from commit 79d2f549adcbbefd4f2c0a0c9dd572bbbf252c62) Co-authored-by: July Tikhonov <july.tikh@gmail.com>
* Closes gh-95133: docs, fix indentation level in TestCase.assertLogs example ↵Miss Islington (bot)2022-07-221-2/+2
| | | | | | | (GH-95134) (cherry picked from commit 2a9c227ac11f7d8fc6d756542dd3410be0a6b6b0) Co-authored-by: Alexandru Mărășteanu <alexei@users.noreply.github.com>
* gh-81040: Improve sqlite3.Cursor.rowcount docs (GH-94940)Miss Islington (bot)2022-07-221-12/+5
| | | | | (cherry picked from commit f9b3706df65c4962646587b437a4eb39289dfd4c) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* gh-95112: Fix What's New 3.10 contribution note periods (GH-95114)Miss Islington (bot)2022-07-221-25/+25
| | | | | | | Some are missing, a few placed after the ')'. One ') was missing. (cherry picked from commit c944649ffc06f155acea8454f9449fdccad0a74e) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* GH-95029: Describe Windows Store package isolation and redirection in more ↵Miss Islington (bot)2022-07-211-3/+31
| | | | | | | detail (GH-95030) (cherry picked from commit b1924b10069fb797845284552fb9da931b1ffdb9) Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com>
* Fix incorrect double indent in ast doc (GH-94976)Miss Islington (bot)2022-07-181-1/+1
| | | | | | Warning directive indent was 4 rather than 3 spaces. (cherry picked from commit a25a803c4c452c70da11be3e80004b47646bff4c) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* In ast doc, update 'below' to 'above' (GH-94967)Miss Islington (bot)2022-07-181-1/+1
| | | | | | The included asdl file was moved from 'below' to 'above' in 3.9. (cherry picked from commit 7b617be4ab6df871cfa9d2127908cb1373578dc0) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Add additional pointers to pathlib's mapping to os.path functions (GH-94828)Miss Islington (bot)2022-07-151-1/+2
| | | | | | | | | | | | | | | | * Add additional pointers to pathlib's mapping to os.path functions os.path.splitext has a somewhat quirky signature since it mixes the path and filename components but I wanted the documentation to mention `PurePath.stem` as the natural counterpart to `PurePath.suffix` for the common use of `os.path.splitext` to turn "file.py" into "file" and "py". Technically this could have some discussion of how to handle the parent directory hierarchy but that seems a bit out of keeping with the spirit of this table so I omitted mentioning `PurePath.parents` here. * Update Doc/library/pathlib.rst Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit 3789c635772fbdeb5d0fc32aa811fd6b1d935a60) Co-authored-by: Chris Adams <chris@improbable.org>
* [3.10] [doc] Update cookbook example and add information about queue types. ↵Miss Islington (bot)2022-07-152-1/+11
| | | | | (GH-94854) (GH-94872) (cherry picked from commit dc54193095e8ac8d73489f7ab133e016a5556256)
* Docs: fix typo in sqlite3.rst (GH-94798)Miss Islington (bot)2022-07-141-1/+1
| | | | | | Colum -> Column (cherry picked from commit 9ea72e9d8d9c7ff7c0cec4bacf6071ff4f1f6238) Co-authored-by: Ikko Ashimine <eltociear@gmail.com>
* gh-90359: Unify documentation style for datetime.rst (gh-94836)Miss Islington (bot)2022-07-141-0/+7
| | | | | (cherry picked from commit 967da5febbc77b36a5b14863e61db3a2d441a940) Co-authored-by: Dong-hee Na <donghee.na@python.org>
* gh-90359: Update documentation to follow PEP 495. (gh-94800)Miss Islington (bot)2022-07-141-0/+12
| | | | | (cherry picked from commit 07374cce52abb7fd39729dc1b646ca3029b64c64) Co-authored-by: Dong-hee Na <donghee.na@python.org>
* GH-77265: Document NaN handling in statistics functions that sort or count ↵Miss Islington (bot)2022-07-101-0/+29
| | | | (GH-94676) (#94725)
* Use mdash-es consistently in the library docs index (GH-92762)Miss Islington (bot)2022-07-081-4/+4
| | | | | (cherry picked from commit efb20a97c491821acb03564f526afaf9eed47eef) Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
* [3.10] gh-94622: Add more references to the sqlite3 types anchor (GH-94623). ↵Erlend Egeberg Aasland2022-07-081-4/+4
| | | | | | | (#94679) (cherry picked from commit e5b841a4037d1c2ce3d12a584facf800ae36332a) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* [3.10] gh-94321: Document sqlite3.PrepareProtocol (GH-94620) (#94671)Erlend Egeberg Aasland2022-07-071-0/+12
| | | | | (cherry picked from commit fb6dccae348b954d9f625031b54711a9a33da525) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* gh-92743: Remove copyright sign next to "Raymond Hettinger" (#94665)Guy Yagev2022-07-071-1/+1
| | | Closes GH-92743
* [3.10] gh-94628: Add explicit parameter list to sqlite3.connect docs ↵Erlend Egeberg Aasland2022-07-071-76/+105
| | | | | | | | (GH-94629) (#94646) Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>. (cherry picked from commit 3eb2b9634fdc6826a558fa5aa820dc6e69b7800e) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* gh-94630: Update sqlite3 docs with positional-only and keyword-only symbols ↵Miss Islington (bot)2022-07-061-11/+11
| | | | | | | (GH-94631) (cherry picked from commit 94988603f3c934f95220f09aefffd50c0a5d3367) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* gh-94017: Improve clarity of sqlite3 transaction handling docs (GH-94320)Miss Islington (bot)2022-07-061-39/+61
| | | | | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> (cherry picked from commit 760b8cf0c887fbc5191611a7e7d4b8c0c4f15edc) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* [3.10] gh-91330: Tests and docs for dataclass descriptor-typed fields ↵Łukasz Langa2022-07-051-0/+51
| | | | | | | | (GH-94424) (GH-94577) Co-authored-by: Erik De Bonte <erikd@microsoft.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 5f319308a820f49fec66fc3ade50bbaa9fe2105d)
* [3.10] bpo-46755: Don't log stack info twice in QueueHandler (GH-31355) ↵Vinay Sajip2022-07-051-2/+12
| | | | | (GH-94565) Co-authored-by: Erik Montnemery <erik@montnemery.com>
* [3.10] Docs: remove redundant "adverb-adjective" hyphens from compound ↵Łukasz Langa2022-07-0562-105/+105
| | | | | | | | modifiers (GH-94551) (GH-94558) Discussion: https://discuss.python.org/t/slight-grammar-fix-throughout-adverbs-dont-need-hyphen/17021 (cherry picked from commit 3440d197a55800ecceea3e115e44b4262411359c) Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
* [3.10] Update logging documentation: change cross-reference and add webapp ↵Vinay Sajip2022-07-042-11/+275
| | | | r… (GH-94542)
* IDLE doc: Tweek RESTART and Windows console start (GH-94530)Miss Islington (bot)2022-07-031-2/+4
| | | | | (cherry picked from commit 39c29f753e6d6f390dce5a36613c1e03f43d28ea) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-81054: Document that SimpleHTTPRequestHandler follows symbolic links ↵Miss Islington (bot)2022-07-012-2/+13
| | | | | | | (GH-94416) (GH-94493) (cherry picked from commit 80aaeabb8bd1e6b49598a7e23e0f8d99b3fcecaf) Co-authored-by: Sam Ezeh <sam.z.ezeh@gmail.com>
* Update code sample when importing modules in queue doc (GH-94244) (GH-94491)Miss Islington (bot)2022-07-011-1/+2
| | | | | | | | In the queue documentation, the code snippet shows the import to be not PEP 8 compliant. Since people typically copy-paste from such code samples, I think it's important to show best-practices here. (cherry picked from commit ad55147c1d5dbfc23d2ec4554f5e82c18984158c) Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com>
* multiprocessing.spawn doc: Capitalize the p in "Python" (gh-94462)Miss Islington (bot)2022-06-301-1/+1
| | | | | (cherry picked from commit 62bb7a3b50150495e215d7bd32f633eef81b3bc2) Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com>
* xml.dom.minidom docs: fix typo (GH-93437)Miss Islington (bot)2022-06-301-1/+1
| | | | | (cherry picked from commit 639e35108bc8b2b880225862d3571277ad57648b) Co-authored-by: Jean-Christophe Helary <jean.christophe.helary@traduction-libre.org>
* gh-89038: [doc] update dis.findlinestarts documentation for changes related ↵Miss Islington (bot)2022-06-301-4/+6
| | | | | | | | | to PEP-626 (GH-94247) (GH-94449) (cherry picked from commit d68f2d27bbf85f3573a08fc7554889e1733a30f0) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* [3.10] bpo-92336: [doc] clarify that the dfile is read by the traceback ↵Miss Islington (bot)2022-06-291-2/+3
| | | | | | | | | | display code (GH-94409) (GH-94429) (cherry picked from commit 68fb03249f3b17146db42b00a75718b823a2280c) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> Automerge-Triggered-By: GH:iritkatriel
* Docs: Update SyntaxError message in REPL example for list comprehension ↵Miss Islington (bot)2022-06-291-3/+3
| | | | | | | (GH-93901) (GH-94426) (cherry picked from commit 22b783aba05bcc3a21af9e5ae308ffbb98ff6a12) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
* [3.10] gh-82006: IDLE doc improvements (GH-94349) (GH-94358)Miss Islington (bot)2022-06-281-11/+24
| | | | | | | | | 0. Update text start and stop conditions. 1. Title-case sections but not subsections. 2. Edit Shell Window sections: title, execute, restart. (cherry picked from commit e6391e08bff775a3c10707fd2cfce6963e6ae429) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* gh-61585: Clarify import scope in modules tutorial (GH-93455) (GH-94374)Miss Islington (bot)2022-06-281-10/+11
| | | | | | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> (cherry picked from commit 4b854b746650214eddadb2440efd9e1544d08ccb)