summaryrefslogtreecommitdiffstats
path: root/Doc/library/grp.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-08-12 17:03:04 (GMT)
committerGitHub <noreply@github.com>2022-08-12 17:03:04 (GMT)
commit7fdda1a47fe6f83a76248a9f142de67a347c137b (patch)
tree395bb23add2afd02d2ba3bf6ec161ae606ac4df1 /Doc/library/grp.rst
parent5cc3964a32da4969397b8a14a1f5f8e6103f8c01 (diff)
downloadcpython-7fdda1a47fe6f83a76248a9f142de67a347c137b.zip
cpython-7fdda1a47fe6f83a76248a9f142de67a347c137b.tar.gz
cpython-7fdda1a47fe6f83a76248a9f142de67a347c137b.tar.bz2
gh-82180: Document support for non-integer arg removed from grp.getgrgid in 3.10 (GH-95346) (GH-95929)
(cherry picked from commit 50bf5fafcceacf8d7460fd8f9fb4297ac74d3eac) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Diffstat (limited to 'Doc/library/grp.rst')
-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)