]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
remove ambiguous line breakers to help sphinx identify code block
authorLunarShaddow <aflyhorse@hotmail.com>
Fri, 5 May 2017 06:38:41 +0000 (14:38 +0800)
committerLunarShaddow <aflyhorse@hotmail.com>
Fri, 5 May 2017 06:38:41 +0000 (14:38 +0800)
lib/sqlalchemy/dialects/mysql/base.py

index dc7e3b369b668867c14a5f9ca951e906a2b8001a..f1d779e0dfd5994f93fed62f4bfa0713d0a339de 100644 (file)
@@ -205,8 +205,7 @@ Most MySQL DBAPIs offer the option to set the client character set for
 a connection.   This is typically delivered using the ``charset`` parameter
 in the URL, such as::
 
-    e = create_engine("mysql+pymysql://scott:tiger@localhost/\
-test?charset=utf8")
+    e = create_engine("mysql+pymysql://scott:tiger@localhost/test?charset=utf8")
 
 This charset is the **client character set** for the connection.  Some
 MySQL DBAPIs will default this to a value such as ``latin1``, and some
@@ -224,8 +223,7 @@ that includes codepoints more than three bytes in size,
 this new charset is preferred, if supported by both the database as well
 as the client DBAPI, as in::
 
-    e = create_engine("mysql+pymysql://scott:tiger@localhost/\
-test?charset=utf8mb4")
+    e = create_engine("mysql+pymysql://scott:tiger@localhost/test?charset=utf8mb4")
 
 At the moment, up-to-date versions of MySQLdb and PyMySQL support the
 ``utf8mb4`` charset.   Other DBAPIs such as MySQL-Connector and OurSQL
@@ -2105,4 +2103,3 @@ class _DecodingRowProxy(object):
             return item.decode(self.charset)
         else:
             return item
-