Skip to content

Clarify multiprocessing.Queue.get_nowait() documentation#150863

Merged
StanFromIreland merged 1 commit into
python:mainfrom
rerpha:patch-1
Jun 23, 2026
Merged

Clarify multiprocessing.Queue.get_nowait() documentation#150863
StanFromIreland merged 1 commit into
python:mainfrom
rerpha:patch-1

Conversation

@rerpha

@rerpha rerpha commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

This is a very simple PR which adds block as a kwarg to get_nowait() in the same way that put_nowait() does. I know that block can be passed as an *arg but I think this just clears up any confusion in case the read sees it as get_nowait(timeout=False) or something!

note: please add the skip issue label for me!

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #32974832 | 📁 Comparing da642de against main (7a468a1)

  🔍 Preview build  

1 file changed
± library/queue.html

@StanFromIreland StanFromIreland changed the title make get_nowait() consistant with put_nowait() description Clarify multiprocessing.Queue.get_nowait() documentation Jun 23, 2026

@StanFromIreland StanFromIreland left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@StanFromIreland StanFromIreland merged commit 2ac1611 into python:main Jun 23, 2026
71 of 74 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Jun 23, 2026
@StanFromIreland

Copy link
Copy Markdown
Member

Merged, thanks.

@rerpha rerpha deleted the patch-1 branch June 23, 2026 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip issue skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants