Skip to content

Commit

Permalink
docs: add missing docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleKing committed Jun 24, 2024
1 parent 43c54ed commit 12931e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mdformat_admon/factories/_whitespace_admon_factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ def new_token(
name: str,
kind: str,
) -> Generator[Token, None, None]:
"""Create scoped token."""
yield state.push(f"{name}_open", kind, 1)
state.push(f"{name}_close", kind, -1)

Expand Down

0 comments on commit 12931e4

Please sign in to comment.