]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Update code sample when importing modules in queue doc (GH-94244) (GH-94491)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 1 Jul 2022 16:15:06 +0000 (09:15 -0700)
committerGitHub <noreply@github.com>
Fri, 1 Jul 2022 16:15:06 +0000 (18:15 +0200)
commite55cd03c156e6e95d3ef70cd6dbb254b3869fd77
tree5f97655257403373051ae750e115c7674b7cf427
parent259dd7ee8af54e3328ebf41131364b811c055814
Update code sample when importing modules in queue doc (GH-94244) (GH-94491)

In the queue documentation, the code snippet shows the import to be not PEP 8 compliant.

Since people typically copy-paste from such code samples, I think it's important to show best-practices here.
(cherry picked from commit ad55147c1d5dbfc23d2ec4554f5e82c18984158c)

Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com>
Doc/library/queue.rst