summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine/url.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2008-12-07 23:58:02 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2008-12-07 23:58:02 +0000
commit480436ff7cdfe8564e818d611cc0aff20b774754 (patch)
treed5c76c0d4efb81f99ad2a4f1e557efc584562c39 /lib/sqlalchemy/engine/url.py
parent058c2895be8e7d141d63c0561fb88f2b821238f5 (diff)
downloadsqlalchemy-480436ff7cdfe8564e818d611cc0aff20b774754.tar.gz
- moved index.rst around to have the API docs right there, no "Main Documentation" chapter which is fairly needless. this all allows PDF to have a decent TOC on the side with only two levels (can we change that ?)
- added LatexFormatter. - PDF wont work until issue with the docstirng in url.py/URL.translate_connect_args is fixed.
Diffstat (limited to 'lib/sqlalchemy/engine/url.py')
-rw-r--r--lib/sqlalchemy/engine/url.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/sqlalchemy/engine/url.py b/lib/sqlalchemy/engine/url.py
index e00efd6c0..5d5ce0bd0 100644
--- a/lib/sqlalchemy/engine/url.py
+++ b/lib/sqlalchemy/engine/url.py
@@ -102,14 +102,13 @@ class URL(object):
used as the keys by default. Unset or false attributes are omitted
from the final dictionary.
- :param \**kw: Optional, alternate key names for url
- attributes::
+ :param \**kw: Optional, alternate key names for url attributes::
- # return 'username' as 'user'
- username='user'
+ # return 'username' as 'user'
+ username='user'
- # omit 'database'
- database=None
+ # omit 'database'
+ database=None
:param names: Deprecated. Same purpose as the keyword-based alternate names,
but correlates the name to the original positionally.