summaryrefslogtreecommitdiff
path: root/docutils/transforms/universal.py
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2019-08-26 12:11:32 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2019-08-26 12:11:32 +0000
commit97d2ad5d62ced259f8dbfc62433a1943c4862a20 (patch)
treec0c99dd6f9cb9376aa570be4c6cc3ad470b4d896 /docutils/transforms/universal.py
parent83bba3a37073a7c90e057d742e4e8965a0580088 (diff)
downloaddocutils-97d2ad5d62ced259f8dbfc62433a1943c4862a20.tar.gz
py3: Switch to print functions
Remove all uses of print as a statement. This includes comments, many of which are simply removed as noise (they're in version control and can be re-added later, if necessary). Signed-off-by: Stephen Finucane <stephen@that.guru> git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8346 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/transforms/universal.py')
-rw-r--r--docutils/transforms/universal.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/docutils/transforms/universal.py b/docutils/transforms/universal.py
index 59f0cd77f..fa39215cc 100644
--- a/docutils/transforms/universal.py
+++ b/docutils/transforms/universal.py
@@ -17,12 +17,12 @@ Transforms needed by most or all documents:
__docformat__ = 'reStructuredText'
import re
-import sys
import time
from docutils import nodes, utils
from docutils.transforms import TransformError, Transform
from docutils.utils import smartquotes
+
class Decorations(Transform):
"""
@@ -258,7 +258,6 @@ class SmartQuotes(Transform):
alternative = smart_quotes.startswith('alt')
except AttributeError:
alternative = False
- # print repr(alternative)
document_language = self.document.settings.language_code
lc_smartquotes = self.document.settings.smartquotes_locales