python-trio / trio

Trio – a friendly Python library for async concurrency and I/O
https://trio.readthedocs.io
Other
5.98k stars 325 forks source link

Updated docstring for from_thread_run to reflect how to get trio token #3001

Closed oakal510 closed 1 month ago

oakal510 commented 1 month ago

Added a documentation fix for the following issue: fixes https://github.com/python-trio/trio/issues/1439.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.63%. Comparing base (6f62575) to head (23b2c87).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #3001 +/- ## ======================================= Coverage 99.63% 99.63% ======================================= Files 120 120 Lines 17798 17798 Branches 3198 3198 ======================================= Hits 17733 17733 Misses 46 46 Partials 19 19 ``` | [Files](https://app.codecov.io/gh/python-trio/trio/pull/3001?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-trio) | Coverage Δ | | |---|---|---| | [src/trio/\_threads.py](https://app.codecov.io/gh/python-trio/trio/pull/3001?src=pr&el=tree&filepath=src%2Ftrio%2F_threads.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-trio#diff-c3JjL3RyaW8vX3RocmVhZHMucHk=) | `100.00% <ø> (ø)` | |
trio-bot[bot] commented 1 month ago

Hey @oakal510, it looks like that was the first time we merged one of your PRs! Thanks so much! :tada: :birthday:

If you want to keep contributing, we'd love to have you. So, I just sent you an invitation to join the python-trio organization on Github! If you accept, then here's what will happen:

If you want to read more, here's the relevant section in our contributing guide.

Alternatively, you're free to decline or ignore the invitation. You'll still be able to contribute as much or as little as you like, and I won't hassle you about joining again. But if you ever change your mind, just let us know and we'll send another invitation. We'd love to have you, but more importantly we want you to do whatever's best for you.

If you have any questions, well... I am just a humble Python script, so I probably can't help. But please do post a comment here, or in our chat, or on our forum, whatever's easiest, and someone will help you out!