Skip to content

Commit

Permalink
chore: fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
elhoangvu committed Apr 22, 2024
1 parent 19a10b1 commit 4a36cf6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ Building `Context` with `CommentRule.ContextCase` to define the comment style.
>>> dictrule.Generator({
... "comment": "This is a single-line comment"
... }).generate(context)
"# This is a single-line comment"
# This is a single-line comment

>>> context = build_multiline_context('"""')
>>> dictrule.Generator({
Expand Down
2 changes: 1 addition & 1 deletion src/dictrule/built_in_rules/comment_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class CommentRule(Rule):
>>> dictrule.Generator({
... "comment": "This is a single-line comment"
... }).generate(context)
"# This is a single-line comment"
# This is a single-line comment
>>> context = build_multiline_context('\"""')
>>> dictrule.Generator({
Expand Down

0 comments on commit 4a36cf6

Please sign in to comment.