summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* gh-100488: Add is_integer method to fractions.Fraction (#100489)Shantanu2023-01-011-0/+6
|
* gh-100546: Remove incorrect positional-only marker from eval (#100547)Shantanu2023-01-011-1/+1
| | | | | | All the arguments are positional-only. The current status after #99476 seems to be to not use positional-only markers in documentation, hence I've simply removed it.
* GH-87002: fix caching documentation in `struct` module (#24164)Sandeep Subramanian2022-12-311-3/+3
|
* gh-100633 Tutorial: Fix dataclasses import (#100638)Owain Davies2022-12-311-1/+1
| | | import dataclass not dataclasses from dataclasses
* GH-85979: Clarify specification of `object.__await__` (#22320)Paolo Lammens2022-12-311-0/+8
| | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* Improve comments in itertools uniquification recipes (GH-100631)Raymond Hettinger2022-12-311-7/+12
|
* gh-100616: Document 'attr' parameter for window.vline() in curses module ↵mathieui2022-12-301-3/+3
| | | | | (#24961) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
* gh-100583: Improve the `pydoc` documentation (#100590)ram vikram singh2022-12-291-4/+4
|
* GH-100101: Clarify documentation of zip's strict option (GH-100103)JustAnotherArchivist2022-12-281-4/+14
|
* Restore early-out to factor(). Strengthen tests. (GH-100591)Raymond Hettinger2022-12-281-5/+15
|
* gh-94172: Update docs for params removed in 3.12 (#100431)Hugo van Kemenade2022-12-286-53/+53
| | | | Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
* gh-100540: Remove obsolete '--with-system-ffi' configure option (GH-100544)Zachary Ware2022-12-281-5/+0
| | | | | It has had no effect on non-macOS platforms for a long time, and has had the non-obvious effect of invoking `pkg_config` and not setting `-DUSING_APPLE_OS_LIBFFI` on macOS since GH-22855.
* Improve factor() recipe and fix its tests (GH-100576)Raymond Hettinger2022-12-281-20/+20
|
* gh-55688: Add note about ending backslashes for raw strings (#94768)Stanley2022-12-282-0/+45
| | | Co-authored-by: hauntsaninja <hauntsaninja@gmail.com>
* gh-92446: Improve argparse choices docs; revert bad change to lzma docs (#94627)Guy Yagev2022-12-262-7/+7
| | | | | | | Based on the definition of the collections.abc classes, it is more accurate to use "sequence" instead of "container" when describing argparse choices. A previous attempt at fixing this in #92450 was mistaken; this PR reverts that change. Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
* gh-99308: Clarify re docs for byte pattern group names (#99311)Ilya Kulakov2022-12-251-7/+9
|
* gh-100472: Fix docs claim that compileall parameters could be bytes (#100473)Shantanu2022-12-241-2/+2
|
* [Minor PR] Quotes in documentation changed into code blocks (#99536)Bart Broere2022-12-241-0/+4
| | | | | Minor formatting fix in documentation Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
* gh-100428: Make float documentation more accurate (#100437)Shantanu2022-12-241-9/+12
| | | | Previously, the grammar did not accept `float("10")`. Also implement mdickinson's suggestion of removing the indirection.
* gh-99535: Add test for inheritance of annotations and update documentation ↵MonadChains2022-12-242-0/+10
| | | | (#99990)
* gh-99908: Tutorial: Modernize the 'data-record class' example (#100499)JosephSBoyle2022-12-241-9/+15
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* Misc Itertools recipe tweaks (GH-100493)Raymond Hettinger2022-12-241-5/+49
|
* gh-77771: Add enterabs example in sched (#92716)Stanley2022-12-241-5/+11
| | | Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
* gh-100268: Add is_integer method to int (#100439)Shantanu2022-12-241-0/+6
| | | This improves the lives of type annotation users of `float` - which type checkers implicitly treat as `int|float` because that is what most code actually wants. Before this change a `.is_integer()` method could not be assumed to exist on things annotated as `: float` due to the method not existing on both types.
* Add "strict" to dotproduct(). Add docstring. Factor-out common code. (GH-100480)Raymond Hettinger2022-12-231-2/+3
|
* GH-100425: Improve accuracy of builtin sum() for float inputs (GH-100426)Raymond Hettinger2022-12-233-7/+6
|
* gh-99482: remove `jython` compatibility parts from stdlib and tests (#99484)Nikita Sobolev2022-12-231-0/+3
|
* gh-98712: Clarify "readonly bytes-like object" semantics in C arg-parsing ↵Petr Viktorin2022-12-231-19/+35
| | | | docs (#98710)
* Fix typo in 3.12 What's New (#100449)Shantanu2022-12-231-1/+1
|
* gh-48496: Added example and link to faq for UnboundLocalError in reference ↵Stanley2022-12-222-0/+4
| | | | (#93068)
* gh-100344: Add C implementation for `asyncio.current_task` (#100345)Itamar Ostricher2022-12-221-0/+3
| | | Co-authored-by: pranavtbhat
* gh-91081: Add note on WeakKeyDictionary behavior when deleting a replaced ↵Stanley2022-12-211-0/+24
| | | | | | entry (#91499) Co-authored-by: Pieter Eendebak <P.T.eendebak@tudelft.nl> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* gh-99991: improve docs on str.encode and bytes.decode (#100198)Bisola Olasehinde2022-12-211-27/+33
| | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* Clarify that every thread has its own default context in contextvars (#99246)Pablo Galindo Salgado2022-12-201-0/+5
|
* gh-88211: Change lower-case and upper-case to match recommendations in ↵Brad Wolfe2022-12-201-1/+1
| | | | imaplib docs (#99625)
* gh-89051: Add ssl.OP_LEGACY_SERVER_CONNECT (#93927)Thomas Grainger2022-12-201-0/+7
| | | | | | Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Christian Heimes <christian@python.org> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Fixes https://github.com/python/cpython/issues/89051
* gh-69929: re docs: Add more specific definition of \w (#92015)Stanley2022-12-201-4/+3
| | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* gh-94912: Added marker for non-standard coroutine function detection (#99247)Carlton Gibson2022-12-182-2/+29
| | | | | This introduces a new decorator `@inspect.markcoroutinefunction`, which, applied to a sync function, makes it appear async to `inspect.iscoroutinefunction()`.
* Correct CVE-2020-10735 documentation (#100306)Jeremy Paige2022-12-181-3/+3
|
* Docs: Use `PY_VERSION_HEX` for version comparison (#100179)Hugo van Kemenade2022-12-172-1/+3
|
* gh-97909: Fix markup for `PyMethodDef` members (#100089)ram vikram singh2022-12-171-17/+18
|
* gh-78707: deprecate passing >1 argument to `PurePath.[is_]relative_to()` ↵Barney Gale2022-12-171-3/+11
| | | | | | | (GH-94469) This brings `relative_to()` and `is_relative_to()` more in line with other pathlib methods like `rename()` and `symlink_to()`. Resolves #78707.
* gh-99830: asyncio: Document returns of remove_{reader,writer} (#100302)Ben Darnell2022-12-161-2/+4
|
* "Compound statement" docs: Fix with-statement step indexing (#100286)Frank Dana2022-12-161-1/+1
| | | | | Back in commit 226e6e7d4326cf91ef37e13528eb1f62de1bb832 an item was added to the list, renumbering all the rest of the items, but the forward-reference wasn't updated to match.
* Document that zipfile's pwd parameter is a `bytes` object (#100209)JustAnotherArchivist2022-12-161-7/+8
|
* gh-99767: mark `PyTypeObject.tp_watched` as internal use only in table (#100271)Carl Meyer2022-12-161-1/+1
|
* Fix typo in introduction.rst (#100266)Mikhail Berkov2022-12-161-1/+1
|
* GH-100234: Set a default value for random.expovariate() (GH-100235)Raymond Hettinger2022-12-151-1/+4
|
* Remove uninformative itertools recipe (GH-100253)Raymond Hettinger2022-12-151-7/+0
|
* GH-99767: update PyTypeObject docs for type watchers (GH-99928)Carl Meyer2022-12-152-0/+12
|