diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-01-18 18:49:57 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-01-18 18:49:57 +0200 |
commit | 098644441e6e0571b01102f5f9ae6775353206ac (patch) | |
tree | 954f99fb8c39c78b83f38fab366d538a80dcc414 /Doc/library/grp.rst | |
parent | f10f99298e48e3e471801ff5454a0b2af85f7c50 (diff) | |
download | cpython-098644441e6e0571b01102f5f9ae6775353206ac.tar.gz |
Issue #26129: Deprecated accepting non-integers in grp.getgrgid().
Diffstat (limited to 'Doc/library/grp.rst')
-rw-r--r-- | Doc/library/grp.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/grp.rst b/Doc/library/grp.rst index 88821406a3..c840cfe67a 100644 --- a/Doc/library/grp.rst +++ b/Doc/library/grp.rst @@ -42,6 +42,9 @@ 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. .. function:: getgrnam(name) |