Skip to content

Commit

Permalink
pythongh-82180: Support for non-integer arg removed from grp.getgrgid…
Browse files Browse the repository at this point in the history
… in 3.10
  • Loading branch information
hugovk committed Jul 27, 2022
1 parent f40bc7f commit 028b7d7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Doc/library/grp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 028b7d7

Please sign in to comment.