Skip to content

Commit 5253358

Browse files
authored
docs: Correct PrintOK doctest examples
1 parent 583b8fe commit 5253358

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/usage/configuration/docstrings.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class PrintOK:
120120
"""Initialize the instance.
121121
122122
Examples:
123-
>>> Class() # doctest: +NORMALIZE_WHITESPACE
123+
>>> PrintOK() # doctest: +NORMALIZE_WHITESPACE
124124
ok
125125
"""
126126
print("ok")
@@ -136,7 +136,7 @@ class PrintOK:
136136
<p>Examples:</p>
137137

138138
```pycon
139-
>>> Class()
139+
>>> PrintOK()
140140
ok
141141
```
142142
////
@@ -149,7 +149,7 @@ ok
149149
<p>Examples:</p>
150150

151151
```pycon
152-
>>> Class() # doctest: +NORMALIZE_WHITESPACE
152+
>>> PrintOK() # doctest: +NORMALIZE_WHITESPACE
153153
ok
154154
```
155155
////

0 commit comments

Comments
 (0)