]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] 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:18:52 +0000 (14:18 +0100)
committerGitHub <noreply@github.com>
Sat, 16 Mar 2024 13:18:52 +0000 (13:18 +0000)
commitfb660871345bb62e33e1bc1547e9740bc7fb3b1f
treed469631334c4d469aef93ff581b684d93b7b5217
parent02497b7ac2d6857449dd9baf386c1f22207f2a09
[3.11] gh-116851: Remove "from ctypes import *" from a ctypes example (GH-116852) (GH-116906)

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