From: Hugo van Kemenade Date: Fri, 12 Aug 2022 16:22:06 +0000 (+0300) Subject: gh-82180: Document support for non-integer arg removed from grp.getgrgid in 3.10... X-Git-Tag: v3.12.0a1~665 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=50bf5fafcceacf8d7460fd8f9fb4297ac74d3eac;p=thirdparty%2FPython%2Fcpython.git gh-82180: Document support for non-integer arg removed from grp.getgrgid in 3.10 (GH-95346) --- diff --git a/Doc/library/grp.rst b/Doc/library/grp.rst index fabc22e4cf59..14af744e3ae8 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)