Skip to content

Commit

Permalink
docs: Correct PrintOK doctest examples
Browse files Browse the repository at this point in the history
  • Loading branch information
bswck authored May 7, 2024
1 parent 583b8fe commit 5253358
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/usage/configuration/docstrings.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class PrintOK:
"""Initialize the instance.
Examples:
>>> Class() # doctest: +NORMALIZE_WHITESPACE
>>> PrintOK() # doctest: +NORMALIZE_WHITESPACE
ok
"""
print("ok")
Expand All @@ -136,7 +136,7 @@ class PrintOK:
<p>Examples:</p>

```pycon
>>> Class()
>>> PrintOK()
ok
```
////
Expand All @@ -149,7 +149,7 @@ ok
<p>Examples:</p>

```pycon
>>> Class() # doctest: +NORMALIZE_WHITESPACE
>>> PrintOK() # doctest: +NORMALIZE_WHITESPACE
ok
```
////
Expand Down

0 comments on commit 5253358

Please sign in to comment.