diff options
author | Alex Waygood <Alex.Waygood@Gmail.com> | 2023-06-25 23:06:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-25 23:06:12 (GMT) |
commit | 93a970ffbce58657cc99305be69e460a11371730 (patch) | |
tree | 599086f9f8f32527b67951ed6fbf3fe9a1e7457f /Misc/NEWS.d | |
parent | 8c24a837371439b8e922ff47275085b581f510c5 (diff) | |
download | cpython-93a970ffbce58657cc99305be69e460a11371730.zip cpython-93a970ffbce58657cc99305be69e460a11371730.tar.gz cpython-93a970ffbce58657cc99305be69e460a11371730.tar.bz2 |
gh-106046: Improve error message from `os.fspath` if `__fspath__` is set to `None` (#106082)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Library/2023-06-23-22-52-24.gh-issue-106046.OdLiLJ.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-06-23-22-52-24.gh-issue-106046.OdLiLJ.rst b/Misc/NEWS.d/next/Library/2023-06-23-22-52-24.gh-issue-106046.OdLiLJ.rst new file mode 100644 index 0000000..ce10a9d --- /dev/null +++ b/Misc/NEWS.d/next/Library/2023-06-23-22-52-24.gh-issue-106046.OdLiLJ.rst @@ -0,0 +1,2 @@ +Improve the error message from :func:`os.fspath` if called on an object +where ``__fspath__`` is set to ``None``. Patch by Alex Waygood. |