]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Cleanup multiprocessing comment and unusual import error message (#126532)
authorGregory P. Smith <greg@krypto.org>
Thu, 7 Nov 2024 08:06:14 +0000 (00:06 -0800)
committerGitHub <noreply@github.com>
Thu, 7 Nov 2024 08:06:14 +0000 (00:06 -0800)
commitd46d3f2ec783004f0927c9f5e6211a570360cf3b
tree51a6b7c237eb1d6888f7385b15c1e21095c5b293
parentdbb6e22cb1f533bba00a61a5b63ec68af9d48836
Cleanup multiprocessing comment and unusual import error message (#126532)

Define constants as constants rather than calling `list(range(2))`.
Explain which values must remain in sync via comments.
Lib/multiprocessing/synchronize.py
Modules/_multiprocessing/semaphore.c