simpler code block syntax
This commit is contained in:
parent
eb24e51ad6
commit
866df01a13
@ -11,8 +11,7 @@ def connect(url):
|
||||
""" Opens a new connection to a database. *url* can be any valid `SQLAlchemy engine URL`_. Returns
|
||||
an instance of :py:class:`dataset.Database.
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
::
|
||||
db = dataset.connect('sqlite:///factbook.db')
|
||||
|
||||
.. _SQLAlchemy Engine URL: http://docs.sqlalchemy.org/en/latest/core/engines.html#sqlalchemy.create_engine
|
||||
|
||||
Loading…
Reference in New Issue
Block a user