Spelling and grammar fixes

This commit is contained in:
Ville Skyttä
2018-05-15 22:04:10 +02:00
parent cddc375bbe
commit 07f4739d97
4 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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

View File

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