summaryrefslogtreecommitdiff
path: root/Lib/ctypes
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-02-10 05:44:01 +0000
committerMartin Panter <vadmium+py@gmail.com>2016-02-10 05:44:01 +0000
commit4e214c5025aeeeb69562dd0c46ae0918881d0bae (patch)
tree08a185f35371ce1673652839703b84d6b452212c /Lib/ctypes
parent6d6e59b7ce66c18073cf743cf4a98c57c17d85c3 (diff)
downloadcpython-4e214c5025aeeeb69562dd0c46ae0918881d0bae.tar.gz
Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similar
The original form is incorrect grammar and feels awkward, even though the meaning is clear.
Diffstat (limited to 'Lib/ctypes')
-rw-r--r--Lib/ctypes/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/ctypes/__init__.py b/Lib/ctypes/__init__.py
index dc7458aa92..0d860784bc 100644
--- a/Lib/ctypes/__init__.py
+++ b/Lib/ctypes/__init__.py
@@ -368,8 +368,8 @@ class CDLL(object):
return func
class PyDLL(CDLL):
- """This class represents the Python library itself. It allows to
- access Python API functions. The GIL is not released, and
+ """This class represents the Python library itself. It allows
+ accessing Python API functions. The GIL is not released, and
Python exceptions are handled correctly.
"""
_func_flags_ = _FUNCFLAG_CDECL | _FUNCFLAG_PYTHONAPI