[Python-checkins] cpython (3.4): Prepare sphinx extensions for 1.3.

georg.brandl python-checkins at python.org
Tue Sep 30 22:17:58 CEST 2014


https://hg.python.org/cpython/rev/fbce846c8d81
changeset:   92683:fbce846c8d81
branch:      3.4
parent:      92680:04f82abdfb6d
user:        Georg Brandl <georg at python.org>
date:        Tue Sep 30 22:17:41 2014 +0200
summary:
  Prepare sphinx extensions for 1.3.

files:
  Doc/tools/sphinxext/c_annotations.py |  3 ++-
  Doc/tools/sphinxext/pyspecific.py    |  1 +
  2 files changed, 3 insertions(+), 1 deletions(-)


diff --git a/Doc/tools/sphinxext/c_annotations.py b/Doc/tools/sphinxext/c_annotations.py
--- a/Doc/tools/sphinxext/c_annotations.py
+++ b/Doc/tools/sphinxext/c_annotations.py
@@ -13,7 +13,7 @@
     Usage: Set the `refcount_file` config value to the path to the reference
     count data file.
 
-    :copyright: Copyright 2007-2013 by Georg Brandl.
+    :copyright: Copyright 2007-2014 by Georg Brandl.
     :license: Python license.
 """
 
@@ -118,3 +118,4 @@
         signode.parent['stableabi'] = 'stableabi' in self.options
         return old_handle_signature(self, sig, signode)
     CObject.handle_signature = new_handle_signature
+    return {'version': '1.0', 'parallel_read_safe': True}
diff --git a/Doc/tools/sphinxext/pyspecific.py b/Doc/tools/sphinxext/pyspecific.py
--- a/Doc/tools/sphinxext/pyspecific.py
+++ b/Doc/tools/sphinxext/pyspecific.py
@@ -345,3 +345,4 @@
     app.add_directive_to_domain('py', 'decorator', PyDecoratorFunction)
     app.add_directive_to_domain('py', 'decoratormethod', PyDecoratorMethod)
     app.add_directive('miscnews', MiscNews)
+    return {'version': '1.0', 'parallel_read_safe': True}

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list