Skip to content

Commit 7fdda1a

Browse files
gh-82180: Document support for non-integer arg removed from grp.getgrgid in 3.10 (GH-95346) (GH-95929)
(cherry picked from commit 50bf5fa) Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent 5cc3964 commit 7fdda1a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Doc/library/grp.rst

+2-3
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,8 @@ It defines the following items:
4545
Return the group database entry for the given numeric group ID. :exc:`KeyError`
4646
is raised if the entry asked for cannot be found.
4747

48-
.. deprecated:: 3.6
49-
Since Python 3.6 the support of non-integer arguments like floats or
50-
strings in :func:`getgrgid` is deprecated.
48+
.. versionchanged:: 3.10
49+
:exc:`TypeError` is raised for non-integer arguments like floats or strings.
5150

5251
.. function:: getgrnam(name)
5352

0 commit comments

Comments
 (0)