summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2022-08-12 16:22:06 (GMT)
committerGitHub <noreply@github.com>2022-08-12 16:22:06 (GMT)
commit50bf5fafcceacf8d7460fd8f9fb4297ac74d3eac (patch)
tree77a828351c28838cfb3a253a16f55f7ddb20c56c
parent6376433ac3c71a4742ec6577054c7edf5ab37134 (diff)
downloadcpython-50bf5fafcceacf8d7460fd8f9fb4297ac74d3eac.zip
cpython-50bf5fafcceacf8d7460fd8f9fb4297ac74d3eac.tar.gz
cpython-50bf5fafcceacf8d7460fd8f9fb4297ac74d3eac.tar.bz2
gh-82180: Document support for non-integer arg removed from grp.getgrgid in 3.10 (GH-95346)
-rw-r--r--Doc/library/grp.rst5
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/library/grp.rst b/Doc/library/grp.rst
index fabc22e..14af744 100644
--- a/Doc/library/grp.rst
+++ b/Doc/library/grp.rst
@@ -45,9 +45,8 @@ It defines the following items:
Return the group database entry for the given numeric group ID. :exc:`KeyError`
is raised if the entry asked for cannot be found.
- .. deprecated:: 3.6
- Since Python 3.6 the support of non-integer arguments like floats or
- strings in :func:`getgrgid` is deprecated.
+ .. versionchanged:: 3.10
+ :exc:`TypeError` is raised for non-integer arguments like floats or strings.
.. function:: getgrnam(name)