From 2962f6ed9784557d903c6e7417f6a21435fd2ea5 Mon Sep 17 00:00:00 2001
From: zyckk4 <2240486388@qq.com>
Date: Thu, 13 Apr 2023 18:36:07 +0800
Subject: [PATCH] [Doc] Fix a typo in optparse.rst
---
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 3e29fed0175e04..468c3efbe01148 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