mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Rename smartquotable to notsmartquotable for intelligibility
This commit is contained in:
parent
8c72f98c78
commit
0059c05a85
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user