From f0dfc7ac5c2f76baaae0c3b45bc339281cfa2adc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Walter=20D=C3=B6rwald?= Date: Mon, 20 Oct 2003 14:01:56 +0000 Subject: Fix a bunch of typos in documentation, docstrings and comments. (From SF patch #810751) --- Lib/test/test_class.py | 2 +- Lib/test/test_errno.py | 2 +- Lib/test/test_os.py | 2 +- Lib/test/test_stringprep.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'Lib/test') diff --git a/Lib/test/test_class.py b/Lib/test/test_class.py index 3c3ea063b1..a37f2a47e3 100644 --- a/Lib/test/test_class.py +++ b/Lib/test/test_class.py @@ -202,7 +202,7 @@ if sys.platform[:4] != 'java': oct(testme) hex(testme) else: - # Jython enforced that the these methods return + # Jython enforced that these methods return # a value of the expected type. print "__int__: ()" print "__long__: ()" diff --git a/Lib/test/test_errno.py b/Lib/test/test_errno.py index 78693281eb..6b02e25cf3 100755 --- a/Lib/test/test_errno.py +++ b/Lib/test/test_errno.py @@ -34,7 +34,7 @@ errors = ['E2BIG', 'EACCES', 'EADDRINUSE', 'EADDRNOTAVAIL', 'EADV', 'EUSERS', 'EWOULDBLOCK', 'EXDEV', 'EXFULL'] # -# This is is a wee bit bogus since the module only conditionally adds +# This is a wee bit bogus since the module only conditionally adds # errno constants if they have been defined by errno.h However, this # test seems to work on SGI, Sparc & intel Solaris, and linux. # diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 028ec08574..d5f477468a 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -1,6 +1,6 @@ # As a test suite for the os module, this is woefully inadequate, but this # does add tests for a few functions which have been determined to be more -# more portable than they had been thought to be. +# portable than they had been thought to be. import os import unittest diff --git a/Lib/test/test_stringprep.py b/Lib/test/test_stringprep.py index c116adc93c..4459689989 100644 --- a/Lib/test/test_stringprep.py +++ b/Lib/test/test_stringprep.py @@ -71,7 +71,7 @@ verify(not in_table_d2(u"\u0040")) # This would generate a hash of all predicates. However, running # it is quite expensive, and only serves to detect changes in the # unicode database. Instead, stringprep.py asserts the version of -# of the database. +# the database. # predicates = [k for k in dir(stringprep) if k.startswith("in_table")] # predicates.sort() -- cgit v1.2.1