Skip to content

Conversation

@asifr
Copy link

@asifr asifr commented Dec 7, 2024

The docstring in TaskGroup incorrectly gave an example like if not result1.pending but SoonValue does not have a pending attribute. The example should check if result1.ready instead.

The docstring incorrectly gave an example like `if not result1.pending` but SoonValue does not have a a pending attribute. The example should check `if result1.ready` instead.
@svlandeg svlandeg added the docs Improvements or additions to documentation label Feb 24, 2025
@svlandeg svlandeg changed the title Fix docstring example in _main.py TaskGroup from .pending to .ready 📝 Fix docstring example for TaskGroup.soonify() Feb 24, 2025
Copy link
Member

@YuriiMotov YuriiMotov left a comment

Choose a reason for hiding this comment

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

Good catch!

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants