Package: bcolz / 1.2.1+ds2-7

Documentation-fixes-for-newer-sphinx.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
From: Christian Kastner <ckk@debian.org>
Date: Sun, 6 Sep 2020 23:27:01 +0200
Subject: Documentation fixes for newer sphinx

This fixes a build failure with newer sphinx versions where the entries
in "See Also" sections must adhere to a stricter syntax.

Bug: https://github.com/Blosc/bcolz/pull/408
---
 bcolz/ctable.py   | 6 ++----
 bcolz/toplevel.py | 3 +--
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/bcolz/ctable.py b/bcolz/ctable.py
index 9de573b..5450153 100644
--- a/bcolz/ctable.py
+++ b/bcolz/ctable.py
@@ -1071,8 +1071,7 @@ class ctable(object):
 
         See Also
         --------
-        See :py:func:`<bcolz.toplevel.iterblocks>` in toplevel functions.
-
+        bcolz.iterblocks
         """
 
         if blen is None:
@@ -1368,8 +1367,7 @@ class ctable(object):
 
         See Also
         --------
-        eval (top level function)
-
+        bcolz.eval
         """
         # Call top-level eval with cols, locals and gloabls as user_dict
         user_dict = kwargs.pop('user_dict', {})
diff --git a/bcolz/toplevel.py b/bcolz/toplevel.py
index e1152ec..742641a 100644
--- a/bcolz/toplevel.py
+++ b/bcolz/toplevel.py
@@ -579,8 +579,7 @@ class cparams(object):
 
     See also
     --------
-    cparams.setdefaults()
-
+    cparams.setdefaults
     """
 
     @property