◐ Shell
clean mode source ↗

[3.12] gh-126165: Improve docs of function `math.isclose` (GH-126215) by miss-islington · Pull Request #126381 · python/cpython

…6215)

(cherry picked from commit 081706f)

Co-authored-by: Zhikang Yan <2951256653@qq.com>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>

This was referenced

Nov 4, 2024

barneygale added a commit to barneygale/cpython that referenced this pull request

Dec 12, 2024
Remove `PurePathBase.relative_to()` and `is_relative_to()` because they
don't account for *other* being an entirely different kind of path, and
they can't use `__eq__()` because it's not on the `PurePathBase` interface.

Remove `PurePathBase.drive`, `root`, `is_absolute()` and `as_posix()`.
These are all too specific to local filesystems.