Skip to content

Commit 1816e48

Browse files
authored
Add anchor
1 parent 9631223 commit 1816e48

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/source/libraries.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,8 @@ specified only by name, use the keyword-only separator (``*``).
453453
def create_user(age: int, *, dob: Optional[date] = None):
454454
...
455455
456+
.. _annotating-decorators:
457+
456458
Annotating Decorators
457459
---------------------
458460

@@ -490,6 +492,8 @@ original signature, thus blinding type checkers and other tools that
490492
provide signature assistance. As such, library authors are discouraged
491493
from creating decorators that mutate function signatures in this manner.
492494

495+
.. _aliasing-decorators:
496+
493497
Aliasing Decorators
494498
-------------------
495499

0 commit comments

Comments
 (0)