Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit e483da9

Browse files
committed
rst_fixes in databases
1 parent 625ac58 commit e483da9

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/sage/databases/findstat.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -470,8 +470,9 @@ def _post_json(url, data, **kwargs):
470470
return result
471471
raise ConnectionError(response.text)
472472

473+
473474
def _submit(args, url):
474-
"""
475+
r"""
475476
Open a post form containing fields for each of the arguments,
476477
which is sent to the given url.
477478
@@ -2171,7 +2172,7 @@ def _richcmp_(self, other, op):
21712172
return richcmp(self.id(), other.id(), op)
21722173

21732174
def _fetch_data(self):
2174-
"""
2175+
r"""
21752176
Return a dictionary containing the data of the statistic, except
21762177
for the values, fetched from FindStat.
21772178
@@ -3109,7 +3110,7 @@ def _richcmp_(self, other, op):
31093110
return richcmp(self.id(), other.id(), op)
31103111

31113112
def _fetch_data(self):
3112-
"""
3113+
r"""
31133114
Return a dictionary containing the data of the map, fetched from
31143115
FindStat.
31153116

src/sage/databases/sql_db.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,9 +277,10 @@ def construct_skeleton(database):
277277
skeleton[table[0]][name]['unique'] = bool(col[2])
278278
return skeleton
279279

280+
280281
p = 0
281282
def _create_print_table(cur, col_titles, **kwds):
282-
"""
283+
r"""
283284
Create a nice printable table from the cursor given with the given
284285
column titles.
285286

0 commit comments

Comments
 (0)