Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfbu <jfbu@free.fr>2017-12-30 13:03:43 +0300
committerjfbu <jfbu@free.fr>2017-12-30 13:03:43 +0300
commit0059c05a857f4144e4eea8b3d2908e906cf7de49 (patch)
tree1b7a4edb550fc4216a14cd6fd31a0d9d5907590c
parent8c72f98c784328ffa3d400b5fc4b119449585d2d (diff)
Rename smartquotable to notsmartquotable for intelligibility
-rw-r--r--sphinx/transforms/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/transforms/__init__.py b/sphinx/transforms/__init__.py
index 0ceced214..c5fe7864e 100644
--- a/sphinx/transforms/__init__.py
+++ b/sphinx/transforms/__init__.py
@@ -346,5 +346,5 @@ class SphinxSmartQuotes(SmartQuotes):
texttype = {True: 'literal', # "literal" text is not changed:
False: 'plain'}
for txtnode in txtnodes:
- smartquotable = not is_smartquotable(txtnode)
- yield (texttype[smartquotable], txtnode.astext())
+ notsmartquotable = not is_smartquotable(txtnode)
+ yield (texttype[notsmartquotable], txtnode.astext())