Skip to content

Commit e1c1d2b

Browse files
committed
test version
1 parent f196c3a commit e1c1d2b

File tree

2 files changed

+3
-15
lines changed

2 files changed

+3
-15
lines changed

src/sage/graphs/graph_database.py

+2-14
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def regexp(expr, item):
126126

127127
class GraphDatabase():
128128
r"""
129-
Graph Database
129+
Graph Database
130130
131131
This class interfaces with the sqlite database graphs.db. The database
132132
contains all unlabeled graphs with 7 or fewer nodes. This class will
@@ -210,22 +210,20 @@ class GraphDatabase():
210210
"""
211211

212212
def cursor(self, query=None, with_regexp=False):
213-
"""
213+
r"""
214214
Allows the user to interact directly with the database by establishing
215215
a connection and creating a cursor (i.e.: pysqlite).
216216
217217
Will return a list containing the results (unformatted) of the query.
218218
219219
See class docstrings for information about the structure of graphs.db.
220220
221-
\begin{verbatim}
222221
INPUT:
223222
query -- (String) Any sqlite call pertaining to graphs.db (see
224223
examples below).
225224
with_regexp -- (Boolean) True to define the sqlite function regexp
226225
(for querying with regular expressions).
227226
False otherwise.
228-
\end{verbatim}
229227
230228
EXAMPLES:
231229
sage: b = graphs_query.cursor(query='select * from graph_data where num_vertices=5',with_regexp=False)
@@ -277,7 +275,6 @@ def display_all(self, query=None, layout='circular', graph6=None, num_vertices=N
277275
Displays the results of a query in a table, including all stored
278276
properties and an image for each graph.
279277
280-
\begin{verbatim}
281278
INPUT:
282279
query -- (String) A sqlite query for graphs.db (See examples below).
283280
The query string currently must lower case and begin with:
@@ -410,7 +407,6 @@ def display_all(self, query=None, layout='circular', graph6=None, num_vertices=N
410407
entry represents an inequality:
411408
'=','>','<','>=','<='
412409
vertex_transitive -- (Boolean)
413-
\end{verbatim}
414410
415411
EXAMPLES:
416412
The basics:
@@ -552,7 +548,6 @@ def display_tables(self, tables=None, layout='circular', query=None, graph6=None
552548
Displays the results of a query in a table, including all stored
553549
properties from the specified database tables and an image for each graph.
554550
555-
\begin{verbatim}
556551
INPUT:
557552
query -- (String) A sqlite query for graphs.db (See examples below).
558553
The query string currently must lower case and begin with:
@@ -689,7 +684,6 @@ def display_tables(self, tables=None, layout='circular', query=None, graph6=None
689684
entry represents an inequality:
690685
'=','>','<','>=','<='
691686
vertex_transitive -- (Boolean)
692-
\end{verbatim}
693687
694688
EXAMPLES:
695689
The basics:
@@ -851,7 +845,6 @@ def display_properties(self, properties=None, layout='circular', query=None, gra
851845
Displays the results of a query in a table, including all specified
852846
properties and an image for each graph.
853847
854-
\begin{verbatim}
855848
INPUT:
856849
query -- (String) A sqlite query for graphs.db (See examples below).
857850
The query string currently must lower case and begin with:
@@ -987,7 +980,6 @@ def display_properties(self, properties=None, layout='circular', query=None, gra
987980
entry represents an inequality:
988981
'=','>','<','>=','<='
989982
vertex_transitive -- (Boolean)
990-
\end{verbatim}
991983
992984
EXAMPLES:
993985
The basics:
@@ -1176,7 +1168,6 @@ def get_list(self, query=None, graph6=None, num_vertices=None, num_edges=None, \
11761168
r"""
11771169
Returns a list of SAGE graphs according to provided parameters.
11781170
1179-
\begin{verbatim}
11801171
INPUT:
11811172
query -- (String) A sqlite query for graphs.db (See examples below).
11821173
The query string currently must lower case and begin with:
@@ -1305,7 +1296,6 @@ def get_list(self, query=None, graph6=None, num_vertices=None, num_edges=None, \
13051296
entry represents an inequality:
13061297
'=','>','<','>=','<='
13071298
vertex_transitive -- (Boolean)
1308-
\end{verbatim}
13091299
13101300
EXAMPLES:
13111301
sage: g = graphs_query.get_list(num_vertices=5,lovasz_number=3.0,\
@@ -1379,7 +1369,6 @@ def number_of(self, query=None, graph6=None, num_vertices=None, num_edges=None,
13791369
Returns the integer that represents the number of unlabeled graphs with 7 or
13801370
fewer vertices that meet the provided search parameters.
13811371
1382-
\begin{verbatim}
13831372
INPUT:
13841373
query -- (String) A sqlite query for graphs.db (See examples below).
13851374
The query string currently must lower case and begin with:
@@ -1508,7 +1497,6 @@ def number_of(self, query=None, graph6=None, num_vertices=None, num_edges=None,
15081497
entry represents an inequality:
15091498
'=','>','<','>=','<='
15101499
vertex_transitive -- (Boolean)
1511-
\end{verbatim}
15121500
15131501
EXAMPLES:
15141502
sage: graphs_query.number_of()

src/sage/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""nodoctests"""
2-
version='2.5.1'; date='2007-05-19'
2+
version='2.5.2.alpha1'; date='2007-05-20'

0 commit comments

Comments
 (0)