diff options
author | jfbu <jfbu@free.fr> | 2017-12-30 13:03:43 +0300 |
---|---|---|
committer | jfbu <jfbu@free.fr> | 2017-12-30 13:03:43 +0300 |
commit | 0059c05a857f4144e4eea8b3d2908e906cf7de49 (patch) | |
tree | 1b7a4edb550fc4216a14cd6fd31a0d9d5907590c | |
parent | 8c72f98c784328ffa3d400b5fc4b119449585d2d (diff) |
Rename smartquotable to notsmartquotable for intelligibility
-rw-r--r-- | sphinx/transforms/__init__.py | 4 |
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()) |