From 028b7d7f47eaaa86766fccac45935152eee9ea4f Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Wed, 27 Jul 2022 21:42:29 +0300 Subject: [PATCH] gh-82180: Support for non-integer arg removed from grp.getgrgid in 3.10 --- Doc/library/grp.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Doc/library/grp.rst b/Doc/library/grp.rst index baa31752a2c750..69598d43f99158 100644 --- a/Doc/library/grp.rst +++ b/Doc/library/grp.rst @@ -43,9 +43,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)