Skip to content

Commit 8108976

Browse files
committed
Fix Sphinx warnings
1 parent c353214 commit 8108976

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

xlrd/formatting.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,8 @@ class Font(BaseObject, EqNeAttrs):
175175
#: 1 = Characters are bold. Redundant; see "weight" attribute.
176176
bold = 0
177177

178-
#: Values::
178+
#: Values:
179+
#: ::
179180
#:
180181
#: 0 = ANSI Latin
181182
#: 1 = System default
@@ -204,7 +205,8 @@ class Font(BaseObject, EqNeAttrs):
204205
#: 1 = Superscript, 2 = Subscript.
205206
escapement = 0
206207

207-
#: Values::
208+
#: Values:
209+
#: ::
208210
#:
209211
#: 0 = None (unknown or don't care)
210212
#: 1 = Roman (variable width, serifed)
@@ -230,7 +232,8 @@ class Font(BaseObject, EqNeAttrs):
230232
#: 1 = Characters are struck out.
231233
struck_out = 0
232234

233-
#: Values::
235+
#: Values:
236+
#: ::
234237
#:
235238
#: 0 = None
236239
#: 1 = Single; 0x21 (33) = Single accounting

xlrd/sheet.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,8 @@ class Sheet(BaseObject):
237237
#: From the *optional* ``DEFAULTROWHEIGHT`` record.
238238
default_additional_space_below = None
239239

240-
#: Visibility of the sheet::
240+
#: Visibility of the sheet:
241+
#: ::
241242
#:
242243
#: 0 = visible
243244
#: 1 = hidden (can be unhidden by user -- Format -> Sheet -> Unhide)

0 commit comments

Comments
 (0)