summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRUANG (James Roy) <rruuaanng@outlook.com>2024-12-03 12:45:50 (GMT)
committerGitHub <noreply@github.com>2024-12-03 12:45:50 (GMT)
commit84ff1313d04e8cbeec7b2cbe4503d86f1f5b449d (patch)
treec3c89ddd2548d14559628e8a2a20fc84c1e23ac7 /Doc
parent35d37d6592d1be71ea76042165f6cbfa6c4c3a17 (diff)
downloadcpython-84ff1313d04e8cbeec7b2cbe4503d86f1f5b449d.zip
cpython-84ff1313d04e8cbeec7b2cbe4503d86f1f5b449d.tar.gz
cpython-84ff1313d04e8cbeec7b2cbe4503d86f1f5b449d.tar.bz2
gh-126585: Add EHWPOISON error code (#126586)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/errno.rst7
-rw-r--r--Doc/whatsnew/3.14.rst5
2 files changed, 12 insertions, 0 deletions
diff --git a/Doc/library/errno.rst b/Doc/library/errno.rst
index 4983b89..824d489 100644
--- a/Doc/library/errno.rst
+++ b/Doc/library/errno.rst
@@ -613,6 +613,13 @@ defined by the module. The specific list of defined symbols is available as
No route to host
+.. data:: EHWPOISON
+
+ Memory page has hardware error.
+
+ .. versionadded:: next
+
+
.. data:: EALREADY
Operation already in progress. This error is mapped to the
diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst
index 75d027d..7bb9657 100644
--- a/Doc/whatsnew/3.14.rst
+++ b/Doc/whatsnew/3.14.rst
@@ -345,6 +345,11 @@ dis
This feature is also exposed via :option:`dis --show-positions`.
(Contributed by Bénédikt Tran in :gh:`123165`.)
+errno
+-----
+
+* Add :data:`errno.EHWPOISON` error code.
+ (Contributed by James Roy in :gh:`126585`.)
fractions
---------