mirror of
https://github.com/python/cpython.git
synced 2024-12-02 14:24:12 +08:00
gh-82180: Document support for non-integer arg removed from grp.getgrgid in 3.10 (GH-95346) (GH-95930)
(cherry picked from commit 50bf5fafcc
)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
parent
e21574a823
commit
44bf05ed0c
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user