]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-82180: Document support for non-integer arg removed from grp.getgrgid in 3.10...
authorHugo van Kemenade <hugovk@users.noreply.github.com>
Fri, 12 Aug 2022 16:22:06 +0000 (19:22 +0300)
committerGitHub <noreply@github.com>
Fri, 12 Aug 2022 16:22:06 +0000 (18:22 +0200)
Doc/library/grp.rst

index fabc22e4cf5979cb1ccc54ecc73250a46ce449b2..14af744e3ae8f4effb8bbe58f120671af6ea89c4 100644 (file)
@@ -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)