]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-82180: Document support for non-integer arg removed from grp.getgrgid in 3.10...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 12 Aug 2022 17:03:37 +0000 (10:03 -0700)
committerGitHub <noreply@github.com>
Fri, 12 Aug 2022 17:03:37 +0000 (19:03 +0200)
(cherry picked from commit 50bf5fafcceacf8d7460fd8f9fb4297ac74d3eac)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Doc/library/grp.rst

index baa31752a2c750c73d7b0e8c79263fdd05a8c851..69598d43f9915888b27dab7c077c454311d8703d 100644 (file)
@@ -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)