瀏覽代碼

Removed a u'' prefix that prevented the docs from building on Python 3.2.

Tim Graham 11 年之前
父節點
當前提交
b63acdfe71
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/_ext/djangodocs.py

+ 1 - 1
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: