summaryrefslogtreecommitdiffstats
path: root/Lib/ctypes
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-07-28 01:11:04 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-07-28 01:11:04 (GMT)
commiteb9957065acaafbf3d8ebee4770ecb13ea0c07c0 (patch)
treea5caf4a201daa6a5094eb18f605cb2b4b7bc91fd /Lib/ctypes
parenteac67be948e972dc12b7b4abfa83b09becf6422c (diff)
downloadcpython-eb9957065acaafbf3d8ebee4770ecb13ea0c07c0.zip
cpython-eb9957065acaafbf3d8ebee4770ecb13ea0c07c0.tar.gz
cpython-eb9957065acaafbf3d8ebee4770ecb13ea0c07c0.tar.bz2
Issue #27626: Spelling fixes in docs, comments and internal names
Based on patch by Ville Skyttä.
Diffstat (limited to 'Lib/ctypes')
-rw-r--r--Lib/ctypes/test/test_numbers.py2
-rw-r--r--Lib/ctypes/test/test_structures.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/ctypes/test/test_numbers.py b/Lib/ctypes/test/test_numbers.py
index 2afca26..ba4f563 100644
--- a/Lib/ctypes/test/test_numbers.py
+++ b/Lib/ctypes/test/test_numbers.py
@@ -76,7 +76,7 @@ class NumberTestCase(unittest.TestCase):
self.assertEqual(t(v).value, truth(v))
def test_typeerror(self):
- # Only numbers are allowed in the contructor,
+ # Only numbers are allowed in the constructor,
# otherwise TypeError is raised
for t in signed_types + unsigned_types + float_types:
self.assertRaises(TypeError, t, "")
diff --git a/Lib/ctypes/test/test_structures.py b/Lib/ctypes/test/test_structures.py
index d998c27..c4a651c 100644
--- a/Lib/ctypes/test/test_structures.py
+++ b/Lib/ctypes/test/test_structures.py
@@ -106,7 +106,7 @@ class StructureTestCase(unittest.TestCase):
self.assertEqual(alignment(XX), alignment(X))
self.assertEqual(sizeof(XX), calcsize("3s 3s 0s"))
- def test_emtpy(self):
+ def test_empty(self):
# I had problems with these
#
# Although these are pathological cases: Empty Structures!