gh-82180: Document support for non-integer arg removed from grp.getgrgid in 3.10 (GH-95346)

This commit is contained in:
Hugo van Kemenade 2022-08-12 19:22:06 +03:00 committed by GitHub
parent 6376433ac3
commit 50bf5fafcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View 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)