Skip to content

Commit 44bf05e

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

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
@@ -43,9 +43,8 @@ It defines the following items:
4343
Return the group database entry for the given numeric group ID. :exc:`KeyError`
4444
is raised if the entry asked for cannot be found.
4545

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

5049
.. function:: getgrnam(name)
5150

0 commit comments

Comments
 (0)