summaryrefslogtreecommitdiffstats
path: root/Lib/sqlite3
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-08-17 13:11:40 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-08-17 13:11:40 (GMT)
commitb5bc353b8893461b0ecdf0e4bc2b299ef2b19bc0 (patch)
treefecebf5a3c00ff7f3194ff1296e4cb26468634f0 /Lib/sqlite3
parent9ff79f7c46fc13bb0855d33ab75acd578a950abf (diff)
downloadcpython-b5bc353b8893461b0ecdf0e4bc2b299ef2b19bc0.zip
cpython-b5bc353b8893461b0ecdf0e4bc2b299ef2b19bc0.tar.gz
cpython-b5bc353b8893461b0ecdf0e4bc2b299ef2b19bc0.tar.bz2
#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 5e2fbf9..b927cb3 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 3b4cb6d..a8fdad9 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