simpler code block syntax

This commit is contained in:
Gregor Aisch 2013-04-01 22:41:33 +02:00
parent eb24e51ad6
commit 866df01a13

View File

@ -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