summaryrefslogtreecommitdiff
path: root/Lib/sqlite3
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-08-17 16:11:40 +0300
committerEzio Melotti <ezio.melotti@gmail.com>2013-08-17 16:11:40 +0300
commitdffd84e2ad12d684d6600fdfe33a8083ac25bdc5 (patch)
tree437543ce767afca58e4b4c2ba60f8b83917ffce4 /Lib/sqlite3
parent51a802159b210f0c27a0aabe78dd866a59fd3610 (diff)
downloadcpython-dffd84e2ad12d684d6600fdfe33a8083ac25bdc5.tar.gz
#18741: fix more typos. Patch by F?vry Thibault.
Diffstat (limited to 'Lib/sqlite3')
-rw-r--r--Lib/sqlite3/test/regression.py6
-rw-r--r--Lib/sqlite3/test/types.py2
2 files changed, 5 insertions, 3 deletions
diff --git a/Lib/sqlite3/test/regression.py b/Lib/sqlite3/test/regression.py
index 5e2fbf9435..b927cb3ed1 100644
--- a/Lib/sqlite3/test/regression.py
+++ b/Lib/sqlite3/test/regression.py
@@ -161,7 +161,8 @@ class RegressionTests(unittest.TestCase):
def CheckCursorConstructorCallCheck(self):
"""
- Verifies that cursor methods check wether base class __init__ was called.
+ Verifies that cursor methods check whether base class __init__ was
+ called.
"""
class Cursor(sqlite.Cursor):
def __init__(self, con):
@@ -187,7 +188,8 @@ class RegressionTests(unittest.TestCase):
def CheckConnectionConstructorCallCheck(self):
"""
- Verifies that connection methods check wether base class __init__ was called.
+ Verifies that connection methods check whether base class __init__ was
+ called.
"""
class Connection(sqlite.Connection):
def __init__(self, name):
diff --git a/Lib/sqlite3/test/types.py b/Lib/sqlite3/test/types.py
index 3b4cb6d1d1..a8fdad9ee1 100644
--- a/Lib/sqlite3/test/types.py
+++ b/Lib/sqlite3/test/types.py
@@ -229,7 +229,7 @@ class DeclTypesTests(unittest.TestCase):
self.assertEqual(type(value), float)
def CheckNumber2(self):
- """Checks wether converter names are cut off at '(' characters"""
+ """Checks whether converter names are cut off at '(' characters"""
self.cur.execute("insert into test(n2) values (5)")
value = self.cur.execute("select n2 from test").fetchone()[0]
# if the converter is not used, it's an int instead of a float