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

ambv webhook-mailer at python.org
Fri Aug 12 12:22:16 EDT 2022


https://github.com/python/cpython/commit/50bf5fafcceacf8d7460fd8f9fb4297ac74d3eac
commit: 50bf5fafcceacf8d7460fd8f9fb4297ac74d3eac
branch: main
author: Hugo van Kemenade <hugovk at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2022-08-12T18:22:06+02:00
summary:

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

files:
M Doc/library/grp.rst

diff --git a/Doc/library/grp.rst b/Doc/library/grp.rst
index fabc22e4cf5..14af744e3ae 100644
--- a/Doc/library/grp.rst
+++ b/Doc/library/grp.rst
@@ -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)
 



More information about the Python-checkins mailing list