sphinxcontrib-trio icon indicating copy to clipboard operation
sphinxcontrib-trio copied to clipboard

autodetect :for: false positive

Open belm0 opened this issue 5 years ago • 2 comments

autodetect is confused by the async_friendly_context_manager in trio_util and incorrectly detects :for: on method multi_error_defer_to() decorated by it.

https://github.com/groove-x/trio-util/blob/944bf42b08b31f549179325eec443851dbd849a5/src/trio_util/_exceptions.py

belm0 avatar Sep 09 '20 14:09 belm0

You're missing a @ character on lines 18 and 23, without that, wraps(func) alone won't do anything.

DevilXD avatar Mar 25 '21 21:03 DevilXD

@DevilXD thank you-- fixed

the false positive :for: is persisting

belm0 avatar Mar 25 '21 22:03 belm0