mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 02:54:29 +08:00
Spelling and grammar fixes
This commit is contained in:
@ -208,7 +208,7 @@ class Connection(_mysql.connection):
|
||||
|
||||
self._server_version = tuple([ numeric_part(n) for n in self.get_server_info().split('.')[:2] ])
|
||||
|
||||
self.encoding = 'ascii' # overriden in set_character_set()
|
||||
self.encoding = 'ascii' # overridden in set_character_set()
|
||||
db = proxy(self)
|
||||
|
||||
# Note: string_literal() is called for bytes object on Python 3 (via bytes_literal)
|
||||
|
@ -8,7 +8,7 @@ MySQLdb User's Guide
|
||||
Introduction
|
||||
------------
|
||||
|
||||
MySQLdb is an thread-compatible interface to the popular MySQL
|
||||
MySQLdb is a thread-compatible interface to the popular MySQL
|
||||
database server that provides the Python database API.
|
||||
|
||||
Installation
|
||||
|
@ -633,7 +633,7 @@ class DatabaseAPI20Test(unittest.TestCase):
|
||||
cur.execute(sql)
|
||||
|
||||
# cursor.fetchall should raise an Error if called
|
||||
# after executing a a statement that cannot return rows
|
||||
# after executing a statement that cannot return rows
|
||||
self.assertRaises(self.driver.Error,cur.fetchall)
|
||||
|
||||
cur.execute('select name from %sbooze' % self.table_prefix)
|
||||
|
@ -35,7 +35,7 @@ class test_MySQLdb(dbapi20.DatabaseAPI20Test):
|
||||
cur.execute(sql)
|
||||
|
||||
# cursor.fetchall should raise an Error if called
|
||||
# after executing a a statement that cannot return rows
|
||||
# after executing a statement that cannot return rows
|
||||
#self.assertRaises(self.driver.Error,cur.fetchall)
|
||||
|
||||
cur.execute('select name from %sbooze' % self.table_prefix)
|
||||
|
Reference in New Issue
Block a user