From 4e04393b2f64f9e44aefa436cbdac42db98d4ef0 Mon Sep 17 00:00:00 2001 From: zyckk4 <100814967+zyckk4@users.noreply.github.com> Date: Tue, 18 Apr 2023 19:21:26 +0800 Subject: [Doc] Fix a typo in optparse.rst (#103504) --- Doc/library/optparse.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/optparse.rst b/Doc/library/optparse.rst index 3e29fed..468c3ef 100644 --- a/Doc/library/optparse.rst +++ b/Doc/library/optparse.rst @@ -2027,7 +2027,7 @@ Features of note: values.ensure_value(attr, value) If the ``attr`` attribute of ``values`` doesn't exist or is ``None``, then - ensure_value() first sets it to ``value``, and then returns 'value. This is + ensure_value() first sets it to ``value``, and then returns ``value``. This is very handy for actions like ``"extend"``, ``"append"``, and ``"count"``, all of which accumulate data in a variable and expect that variable to be of a certain type (a list for the first two, an integer for the latter). Using -- cgit v0.12