Spelling and grammar fixes in code comments and documentation
diff --git a/Lib/test/test_docxmlrpc.py b/Lib/test/test_docxmlrpc.py
index a1a1fcf..815b680 100644
--- a/Lib/test/test_docxmlrpc.py
+++ b/Lib/test/test_docxmlrpc.py
@@ -153,7 +153,7 @@
@make_request_and_skipIf(sys.flags.optimize >= 2,
"Docstrings are omitted with -O2 and above")
def test_system_methods(self):
- """Test the precense of three consecutive system.* methods.
+ """Test the presence of three consecutive system.* methods.
This also tests their use of parameter type recognition and the
systems related to that process.
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index d784aea..765d7c0 100644
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -299,7 +299,7 @@
"Error raising socket exception.")
def testSendtoErrors(self):
- # Testing that sendto doesn't masks failures. See #10169.
+ # Testing that sendto doesn't mask failures. See #10169.
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
self.addCleanup(s.close)
s.bind(('', 0))