Skip to content

Commit

Permalink
Merge pull request #668 from brentp/docsfix
Browse files Browse the repository at this point in the history
stub in inheritance module to get GeminiQuery autodoc
  • Loading branch information
brentp committed Feb 3, 2016
2 parents 2e93094 + 2c15938 commit 8700db6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ def __getattr__(cls, name):
return Mock()

MOCK_MODULES = ['numpy', 'matplotlib', 'matplotlib.pyplot',
'inheritance',
'matplotlib.sphinxext', 'matplotlib.sphinxext.plot_directive']
for mod_name in MOCK_MODULES:
sys.modules[mod_name] = Mock()
2 changes: 1 addition & 1 deletion gemini/GeminiQuery.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,13 +462,13 @@ class GeminiQuery(object):
We create a GeminiQuery object by specifying database to which to
connect::
from gemini import GeminiQuery
gq = GeminiQuery("my.db")
We can then issue a query against the database and iterate through
the results by using the ``run()`` method::
for row in gq:
print row
Expand Down

0 comments on commit 8700db6

Please sign in to comment.