summaryrefslogtreecommitdiff
path: root/docs/_ext/djangodocs.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/_ext/djangodocs.py')
-rw-r--r--docs/_ext/djangodocs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/_ext/djangodocs.py b/docs/_ext/djangodocs.py
index 8946eb063b..7ad058ff11 100644
--- a/docs/_ext/djangodocs.py
+++ b/docs/_ext/djangodocs.py
@@ -179,7 +179,7 @@ class SnippetWithFilename(Directive):
option_spec = {'filename': directives.unchanged_required}
def run(self):
- code = u'\n'.join(self.content)
+ code = '\n'.join(self.content)
literal = snippet_with_filename(code, code)
if self.arguments: