summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/mysql/pymysql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-10-19 19:20:18 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2012-10-19 19:20:18 -0400
commit675558bffb3c58647cde2605186dd7d7d7d9e593 (patch)
tree62b19270c21cd42706fb5c01b3cf9aed1d296687 /lib/sqlalchemy/dialects/mysql/pymysql.py
parent5cd1d774c2ed35eecd47cd189903640618ca89c3 (diff)
downloadsqlalchemy-675558bffb3c58647cde2605186dd7d7d7d9e593.tar.gz
- rework the sphinx customizations into distinct modules
- build a new Sphinx extension that allows dialect info to be entered as directives which is then rendered consistently throughout all dialect/dbapi sections - break out the "empty_strings" requirement for oracle test
Diffstat (limited to 'lib/sqlalchemy/dialects/mysql/pymysql.py')
-rw-r--r--lib/sqlalchemy/dialects/mysql/pymysql.py20
1 files changed, 6 insertions, 14 deletions
diff --git a/lib/sqlalchemy/dialects/mysql/pymysql.py b/lib/sqlalchemy/dialects/mysql/pymysql.py
index b6f2d4384..36b49ba3b 100644
--- a/lib/sqlalchemy/dialects/mysql/pymysql.py
+++ b/lib/sqlalchemy/dialects/mysql/pymysql.py
@@ -4,21 +4,13 @@
# This module is part of SQLAlchemy and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php
-"""Support for the MySQL database via the pymysql adapter.
-
-DBAPI
------
-
-pymysql is available at:
-
- http://code.google.com/p/pymysql/
-
-Connecting
-----------
-
-Connect string::
+"""
- mysql+pymysql://<username>:<password>@<host>/<dbname>[?<options>]
+.. dialect:: mysql+pymysql
+ :name: PyMySQL
+ :dbapi: pymysql
+ :connectstring: mysql+pymysql://<username>:<password>@<host>/<dbname>[?<options>]
+ :url: http://code.google.com/p/pymysql/
MySQL-Python Compatibility
--------------------------