diff --git a/Doc/library/grp.rst b/Doc/library/grp.rst index fabc22e4cf5979..14af744e3ae8f4 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)