mirror of https://github.com/python/cpython
gh-82180: Document support for non-integer arg removed from grp.getgrgid in 3.10 (GH-95346)
This commit is contained in:
parent
6376433ac3
commit
50bf5fafcc
|
@ -45,9 +45,8 @@ It defines the following items:
|
||||||
Return the group database entry for the given numeric group ID. :exc:`KeyError`
|
Return the group database entry for the given numeric group ID. :exc:`KeyError`
|
||||||
is raised if the entry asked for cannot be found.
|
is raised if the entry asked for cannot be found.
|
||||||
|
|
||||||
.. deprecated:: 3.6
|
.. versionchanged:: 3.10
|
||||||
Since Python 3.6 the support of non-integer arguments like floats or
|
:exc:`TypeError` is raised for non-integer arguments like floats or strings.
|
||||||
strings in :func:`getgrgid` is deprecated.
|
|
||||||
|
|
||||||
.. function:: getgrnam(name)
|
.. function:: getgrnam(name)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue