From 525335821b8a266c7822b1c705bd0ae78d795c16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20S=C5=82awecki?= Date: Tue, 7 May 2024 16:51:10 +0200 Subject: [PATCH] docs: Correct `PrintOK` doctest examples --- docs/usage/configuration/docstrings.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/usage/configuration/docstrings.md b/docs/usage/configuration/docstrings.md index fcb9a19..dcb35f5 100644 --- a/docs/usage/configuration/docstrings.md +++ b/docs/usage/configuration/docstrings.md @@ -120,7 +120,7 @@ class PrintOK: """Initialize the instance. Examples: - >>> Class() # doctest: +NORMALIZE_WHITESPACE + >>> PrintOK() # doctest: +NORMALIZE_WHITESPACE ok """ print("ok") @@ -136,7 +136,7 @@ class PrintOK:

Examples:

```pycon ->>> Class() +>>> PrintOK() ok ``` //// @@ -149,7 +149,7 @@ ok

Examples:

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