Skip to content

Commit 53c98c8

Browse files
committed
Fix docstrings format
1 parent 122a947 commit 53c98c8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/sage/combinat/matrices/hadamard_matrix.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070

7171

7272
def normalise_hadamard(H):
73-
"""
73+
r"""
7474
Return the normalised Hadamard matrix corresponding to ``H``.
7575
7676
The normalised Hadamard matrix corresponding to a Hadamard matrix `H` is a
@@ -588,7 +588,7 @@ def alternate(seq1, seq2):
588588
return T1, T2, T3, T4
589589

590590
def four_symbol_delta_code_smallcases(n, existence=False):
591-
"""
591+
r"""
592592
Return the 4-symobl delta code of length n if available.
593593
594594
The 4-symbol delta codes are constructed using :func:`construction_four_symbol_delta_code_I`
@@ -1349,7 +1349,7 @@ def hadamard_matrix(n,existence=False, check=True):
13491349

13501350

13511351
def hadamard_matrix_www(url_file, comments=False):
1352-
"""
1352+
r"""
13531353
Pull file from Sloane's database and return the corresponding Hadamard
13541354
matrix as a Sage matrix.
13551355

src/sage/combinat/t_sequences.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def is_symmetric(seq, verbose=False):
164164

165165

166166
def is_T_sequences_set(sequences, verbose=False):
167-
"""
167+
r"""
168168
Check if a family of sequences is composed of T-sequences.
169169
170170
Given 4 (-1, 0, +1) sequences, they will be T-sequences if
@@ -296,7 +296,7 @@ def turyn_sequences_smallcases(l, existence=False):
296296
return list(map(Sequence, db[l]))
297297

298298
def T_sequences_construction_I(turyn_sequences, check=True):
299-
"""
299+
r"""
300300
Construct T-sequences of length `2l-1` from turyn sequences of length `l`.
301301
302302
Given Turyn sequences `X, U, Y, V`, the T-sequences are constructed as described in
@@ -365,7 +365,7 @@ def zero_seq(n):
365365
return res
366366

367367
def T_sequences_construction_II(turyn_sequences, check=True):
368-
"""
368+
r"""
369369
Construct T-sequences of length `4l-1` from turyn sequences of length `l`.
370370
371371
Given Turyn sequences `X, U, Y, V`, the T-sequences are constructed as described in

0 commit comments

Comments
 (0)