]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-116851: Remove "from ctypes import *" from a ctypes example (GH-116852...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 16 Mar 2024 13:10:10 +0000 (14:10 +0100)
committerGitHub <noreply@github.com>
Sat, 16 Mar 2024 13:10:10 +0000 (13:10 +0000)
commit216b0229227b4b0cf3ca9871b0e3d137d559b5ab
tree43879b58a73128bd4cd199d8822746c5fcefee17
parent04e614663494b6b0fa7b24933fca7c8af3a5fa32
[3.12] gh-116851: Remove "from ctypes import *" from a ctypes example (GH-116852) (GH-116905)

It is confusing, because libc is not imported from ctypes,
but defined in previous examples, which already contain the import.
(cherry picked from commit 744c0777952f1e535d1192ee15b286aa67b61533)

Co-authored-by: jnchen <caojingchen@live.com>
Doc/library/ctypes.rst