diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/ConfigParser.py | 2 | ||||
-rw-r--r-- | Lib/SimpleXMLRPCServer.py | 4 | ||||
-rw-r--r-- | Lib/difflib.py | 4 | ||||
-rw-r--r-- | Lib/idlelib/configDialog.py | 2 | ||||
-rwxr-xr-x | Lib/pydoc.py | 2 | ||||
-rw-r--r-- | Lib/tarfile.py | 2 | ||||
-rwxr-xr-x | Lib/test/test_al.py | 2 | ||||
-rwxr-xr-x | Lib/test/test_cd.py | 2 | ||||
-rwxr-xr-x | Lib/test/test_cl.py | 2 | ||||
-rw-r--r-- | Lib/test/test_minidom.py | 6 | ||||
-rw-r--r-- | Lib/test/test_unicodedata.py | 4 |
11 files changed, 16 insertions, 16 deletions
diff --git a/Lib/ConfigParser.py b/Lib/ConfigParser.py index ade9614..6dc53b9 100644 --- a/Lib/ConfigParser.py +++ b/Lib/ConfigParser.py @@ -28,7 +28,7 @@ ConfigParser -- responsible for parsing a list of create the parser and specify a dictionary of intrinsic defaults. The keys must be strings, the values must be appropriate for %()s string interpolation. Note that `__name__' is always an intrinsic default; - it's value is the section's name. + its value is the section's name. sections() return all the configuration section names, sans DEFAULT diff --git a/Lib/SimpleXMLRPCServer.py b/Lib/SimpleXMLRPCServer.py index 315ce84..5e39840 100644 --- a/Lib/SimpleXMLRPCServer.py +++ b/Lib/SimpleXMLRPCServer.py @@ -170,7 +170,7 @@ class SimpleXMLRPCDispatcher: If the registered instance has a _dispatch method then that method will be called with the name of the XML-RPC method and - it's parameters as a tuple + its parameters as a tuple e.g. instance._dispatch('add',(2,3)) If the registered instance does not have a _dispatch method @@ -371,7 +371,7 @@ class SimpleXMLRPCDispatcher: If the registered instance has a _dispatch method then that method will be called with the name of the XML-RPC method and - it's parameters as a tuple + its parameters as a tuple e.g. instance._dispatch('add',(2,3)) If the registered instance does not have a _dispatch method diff --git a/Lib/difflib.py b/Lib/difflib.py index 590785f..3558f53 100644 --- a/Lib/difflib.py +++ b/Lib/difflib.py @@ -1371,7 +1371,7 @@ def _mdiff(fromlines, tolines, context=None, linejunk=None, text = ' ' # insert marks that won't be noticed by an xml/html escaper. text = '\0' + format_key + text + '\1' - # Return line of text, first allow user's line formatter to do it's + # Return line of text, first allow user's line formatter to do its # thing (such as adding the line number) then replace the special # marks with what the user's change markup. return (num_lines[side],text) @@ -1472,7 +1472,7 @@ def _mdiff(fromlines, tolines, context=None, linejunk=None, """Yields from/to lines of text with a change indication. This function is an iterator. It itself pulls lines from the line - iterator. It's difference from that iterator is that this function + iterator. Its difference from that iterator is that this function always yields a pair of from/to text lines (with the change indication). If necessary it will collect single from/to lines until it has a matching pair from/to pair to yield. diff --git a/Lib/idlelib/configDialog.py b/Lib/idlelib/configDialog.py index 1984845..63bcae2 100644 --- a/Lib/idlelib/configDialog.py +++ b/Lib/idlelib/configDialog.py @@ -27,7 +27,7 @@ class ConfigDialog(Toplevel): self.configure(borderwidth=5) self.geometry("+%d+%d" % (parent.winfo_rootx()+20, parent.winfo_rooty()+30)) - #Theme Elements. Each theme element key is it's display name. + #Theme Elements. Each theme element key is its display name. #The first value of the tuple is the sample area tag name. #The second value is the display name list sort index. self.themeElements={'Normal Text':('normal','00'), diff --git a/Lib/pydoc.py b/Lib/pydoc.py index e0add86..50fe4a1 100755 --- a/Lib/pydoc.py +++ b/Lib/pydoc.py @@ -92,7 +92,7 @@ def classname(object, modname): return name def isdata(object): - """Check if an object is of a type that probably means it's data.""" + """Check if an object is of a type that probably means its data.""" return not (inspect.ismodule(object) or inspect.isclass(object) or inspect.isroutine(object) or inspect.isframe(object) or inspect.istraceback(object) or inspect.iscode(object)) diff --git a/Lib/tarfile.py b/Lib/tarfile.py index 867b242..e4c5863 100644 --- a/Lib/tarfile.py +++ b/Lib/tarfile.py @@ -1462,7 +1462,7 @@ class TarFile(object): # stream of tar blocks. raise StreamError, "cannot extract (sym)link as file object" else: - # A (sym)link's file object is it's target's file object. + # A (sym)link's file object is its target's file object. return self.extractfile(self._getmember(tarinfo.linkname, tarinfo)) else: diff --git a/Lib/test/test_al.py b/Lib/test/test_al.py index 66955ba..02876f0 100755 --- a/Lib/test/test_al.py +++ b/Lib/test/test_al.py @@ -8,7 +8,7 @@ from test.test_support import verbose alattrs = ['__doc__', '__name__', 'getdefault', 'getminmax', 'getname', 'getparams', 'newconfig', 'openport', 'queryparams', 'setparams'] -# This is a very unobtrusive test for the existence of the al module and all it's +# This is a very unobtrusive test for the existence of the al module and all its # attributes. More comprehensive examples can be found in Demo/al def main(): diff --git a/Lib/test/test_cd.py b/Lib/test/test_cd.py index 9a65a7d..d856211 100755 --- a/Lib/test/test_cd.py +++ b/Lib/test/test_cd.py @@ -10,7 +10,7 @@ cdattrs = ['BLOCKSIZE', 'CDROM', 'DATASIZE', 'ERROR', 'NODISC', 'PAUSED', 'PLAYI 'ident', 'index', 'msftoframe', 'open', 'pnum', 'ptime'] -# This is a very inobtrusive test for the existence of the cd module and all it's +# This is a very inobtrusive test for the existence of the cd module and all its # attributes. More comprehensive examples can be found in Demo/cd and # require that you have a CD and a CD ROM drive diff --git a/Lib/test/test_cl.py b/Lib/test/test_cl.py index d3efe9f..abfe3c1 100755 --- a/Lib/test/test_cl.py +++ b/Lib/test/test_cl.py @@ -64,7 +64,7 @@ clattrs = ['ADDED_ALGORITHM_ERROR', 'ALAW', 'ALGORITHM_ID', # This is a very inobtrusive test for the existence of the cl -# module and all it's attributes. +# module and all its attributes. def main(): # touch all the attributes of al without doing anything diff --git a/Lib/test/test_minidom.py b/Lib/test/test_minidom.py index a54fbd3..15581cc 100644 --- a/Lib/test/test_minidom.py +++ b/Lib/test/test_minidom.py @@ -1199,7 +1199,7 @@ def testSetIdAttribute(): and not a1.isId and a2.isId and not a3.isId) - # renaming an attribute should not affect it's ID-ness: + # renaming an attribute should not affect its ID-ness: doc.renameNode(a2, xml.dom.EMPTY_NAMESPACE, "an") confirm(e.isSameNode(doc.getElementById("w")) and a2.isId) @@ -1235,7 +1235,7 @@ def testSetIdAttributeNS(): confirm(a2.isId) confirm(not a3.isId) confirm(doc.getElementById("v") is None) - # renaming an attribute should not affect it's ID-ness: + # renaming an attribute should not affect its ID-ness: doc.renameNode(a2, xml.dom.EMPTY_NAMESPACE, "an") confirm(e.isSameNode(doc.getElementById("w")) and a2.isId) @@ -1271,7 +1271,7 @@ def testSetIdAttributeNode(): confirm(a2.isId) confirm(not a3.isId) confirm(doc.getElementById("v") is None) - # renaming an attribute should not affect it's ID-ness: + # renaming an attribute should not affect its ID-ness: doc.renameNode(a2, xml.dom.EMPTY_NAMESPACE, "an") confirm(e.isSameNode(doc.getElementById("w")) and a2.isId) diff --git a/Lib/test/test_unicodedata.py b/Lib/test/test_unicodedata.py index 0bbabb1..f6dbe0e 100644 --- a/Lib/test/test_unicodedata.py +++ b/Lib/test/test_unicodedata.py @@ -191,7 +191,7 @@ class UnicodeMiscTest(UnicodeDatabaseTest): def test_decimal_numeric_consistent(self): # Test that decimal and numeric are consistent, # i.e. if a character has a decimal value, - # it's numeric value should be the same. + # its numeric value should be the same. count = 0 for i in xrange(0x10000): c = unichr(i) @@ -204,7 +204,7 @@ class UnicodeMiscTest(UnicodeDatabaseTest): def test_digit_numeric_consistent(self): # Test that digit and numeric are consistent, # i.e. if a character has a digit value, - # it's numeric value should be the same. + # its numeric value should be the same. count = 0 for i in xrange(0x10000): c = unichr(i) |