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

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