]> granicus.if.org Git - python/commitdiff
Fix all wrong instances of "it's".
authorGeorg Brandl <georg@python.org>
Fri, 22 Jul 2005 21:49:32 +0000 (21:49 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 22 Jul 2005 21:49:32 +0000 (21:49 +0000)
21 files changed:
Doc/Makefile
Doc/dist/dist.tex
Doc/perl/l2hinit.perl
Lib/ConfigParser.py
Lib/SimpleXMLRPCServer.py
Lib/difflib.py
Lib/idlelib/configDialog.py
Lib/pydoc.py
Lib/tarfile.py
Lib/test/test_al.py
Lib/test/test_cd.py
Lib/test/test_cl.py
Lib/test/test_minidom.py
Lib/test/test_unicodedata.py
Mac/Tools/IDE/Wbase.py
Misc/NEWS
PC/getpathp.c
PC/os2emx/getpathp.c
PC/w9xpopen.c
Tools/pynche/README
Tools/pynche/StripViewer.py

index f68e3f2dae372c59109ceacb1aee44ec5780573e..0d391afcde1c6c33a507b234893d53f5c3b8c107 100644 (file)
@@ -87,7 +87,7 @@ DVIPS=           dvips -N0 -t $(PAPER)
 # (e.g. OpenBSD needs package gmake installed; use gmake instead of make)
 PWD=$(shell pwd)
 
-# (The trailing colon in the value is needed; TeX places it's default
+# (The trailing colon in the value is needed; TeX places its default
 # set of paths at the location of the empty string in the path list.)
 TEXINPUTS=$(PWD)/commontex:
 
index 5db240f3407688da65a1526d183d3069ecffc955..c0a29beedff476433c8bcb2cd0a2f9e82bff230e 100644 (file)
@@ -2294,7 +2294,7 @@ module for the full reference.
 \begin{classdesc*}{Extension}
 
 The Extension class describes a single C or \Cpp extension module in a
-setup script. It accepts the following keyword arguments in it's
+setup script. It accepts the following keyword arguments in its
 constructor
 
 \begin{tableiii}{c|l|l}{argument name}{argument name}{value}{type}
@@ -2354,7 +2354,7 @@ instance.
 \end{classdesc*}
 
 \begin{classdesc*}{Command}
-A \class{Command} class (or rather, an instance of one of it's subclasses)
+A \class{Command} class (or rather, an instance of one of its subclasses)
 implement a single distutils command.
 \end{classdesc*}
 
@@ -2443,7 +2443,7 @@ object. Flags are \var{verbose} (show verbose output), \var{dry_run}
 (don't actually execute the steps) and \var{force} (rebuild
 everything, regardless of dependencies). All of these flags default to
 \code{0} (off). Note that you probably don't want to instantiate
-\class{CCompiler} or one of it's subclasses directly - use the
+\class{CCompiler} or one of its subclasses directly - use the
 \function{distutils.CCompiler.new_compiler()} factory function
 instead.
 
@@ -3323,7 +3323,7 @@ in Python 2.3 and later).}
 The option_table is a list of 3-tuples: \samp{(long_option,
 short_option, help_string)}
 
-If an option takes an argument, it's \var{long_option} should have \code{'='}
+If an option takes an argument, its \var{long_option} should have \code{'='}
 appended; \var{short_option} should just be a single character, no \code{':'}
 in any case. \var{short_option} should be \code{None} if a \var{long_option} 
 doesn't have a corresponding \var{short_option}. All option tuples must have
index e27f238cb8fb406d594d4d530a20f1950be24b4e..89deed01f969ffc2278a6ba1c1dc0d57f26a387c 100644 (file)
@@ -98,7 +98,7 @@ sub custom_driver_hook {
     $dir =~ s/$dd$//;
     $TEXINPUTS = "$dir$envkey$mytexinputs";
     # Push everything into $TEXINPUTS since LaTeX2HTML doesn't pick
-    # this up on it's own; we clear $ENV{'TEXINPUTS'} so the value set
+    # this up on its own; we clear $ENV{'TEXINPUTS'} so the value set
     # for this by the main LaTeX2HTML script doesn't contain duplicate
     # directories.
     if ($ENV{'TEXINPUTS'}) {
index ade961479633ac9a28a353c8837f190a53f1b721..6dc53b9e0d269c03d8fadc1b6cc3fe467a23f93a 100644 (file)
@@ -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
index 315ce840d7389af5e8933d75c43771d3faae06c2..5e39840dcbceedc9e869f53bd19262687ed2b393 100644 (file)
@@ -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
index 590785f391d8387f048f158ff544f81f27fb736d..3558f5383625fa254af3ee51baef1addbc7e87b3 100644 (file)
@@ -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.
index 1984845e6e2e65e01505569a503ab762091106c9..63bcae24dcb676ca58b6cf20f38bb086cbb2002d 100644 (file)
@@ -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'),
index e0add862525c8a054ea1e4f0b64772bd3ae2f57f..50fe4a1527669803bf3ae9eb58bdef4823d731ae 100755 (executable)
@@ -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))
index 867b2420d81ffdb1b82fa42c5ac4e7974357ae43..e4c58636c4b7bb4d2bb4126d1722786c8113ba98 100644 (file)
@@ -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:
index 66955ba1aabd4f0535792008d5540632be13293a..02876f0b38c2a1d16d0d1460e6d82733ddb3842c 100755 (executable)
@@ -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():
index 9a65a7d60042e23e837a5bbf7b0b7c0e5731f6b9..d85621178a7a9bc490ddafde0a24311521b32581 100755 (executable)
@@ -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
 
index d3efe9fbc34a0488ce65c2f28f2864dd156306b1..abfe3c19f5785ed5845a083991dd4944649866b5 100755 (executable)
@@ -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
index a54fbd3f3254823fe4a73c2b2cac14c968d257f8..15581ccfd2abf269f21c35b400e8c02a697ebfcf 100644 (file)
@@ -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)
index 0bbabb1e26539d26af4cb502aa9da623b16b1ba9..f6dbe0e95f3c0d6231440bda2746c7a6bbb37c1e 100644 (file)
@@ -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)
index 4eef1204ba459f4e19077d79fcba04f99aec6f3f..93e499f7dccb86f77b64c59db1929c15c33ace2c 100644 (file)
@@ -128,28 +128,28 @@ class Widget:
             # depending on the values of l(eft), t(op), r(right) and b(ottom),
             # they mean different things:
             if l < -1:
-                # l is less than -1, this mean it measures from the *right* of it's parent
+                # l is less than -1, this mean it measures from the *right* of its parent
                 l = pr + l
             else:
-                # l is -1 or greater, this mean it measures from the *left* of it's parent
+                # l is -1 or greater, this mean it measures from the *left* of its parent
                 l = pl + l
             if t < -1:
-                # t is less than -1, this mean it measures from the *bottom* of it's parent
+                # t is less than -1, this mean it measures from the *bottom* of its parent
                 t = pb + t
             else:
-                # t is -1 or greater, this mean it measures from the *top* of it's parent
+                # t is -1 or greater, this mean it measures from the *top* of its parent
                 t = pt + t
             if r > 1:
                 # r is greater than 1, this means r is the *width* of the widget
                 r = l + r
             else:
-                # r is less than 1, this means it measures from the *right* of it's parent
+                # r is less than 1, this means it measures from the *right* of its parent
                 r = pr + r
             if b > 1:
                 # b is greater than 1, this means b is the *height* of the widget
                 b = t + b
             else:
-                # b is less than 1, this means it measures from the *bottom* of it's parent
+                # b is less than 1, this means it measures from the *bottom* of its parent
                 b = pb + b
             self._bounds = (l, t, r, b)
         if oldbounds and oldbounds <> self._bounds:
index f726589a516f477a50079f553a0a7690713816ec..a6679adc91060c0657d37674d6f753a9bd014dad 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -275,7 +275,7 @@ Library
 - Enhancements to the csv module:
 
   + Dialects are now validated by the underlying C code, better
-    reflecting it's capabilities, and improving it's compliance with
+    reflecting its capabilities, and improving its compliance with
     PEP 305.
   + Dialect parameter parsing has been re-implemented to improve error
     reporting.
index ecde205b53ea1a6cfbb4ec75fa89fc2262ff2039..3b4f45277c4b9760108c17e09b94abf36fde3d2e 100644 (file)
@@ -11,7 +11,7 @@
    * Python always adds an empty entry at the start, which corresponds
      to the current directory.
 
-   * If the PYTHONPATH env. var. exists, it's entries are added next.
+   * If the PYTHONPATH env. var. exists, its entries are added next.
 
    * We look in the registry for "application paths" - that is, sub-keys
      under the main PythonPath registry key.  These are added next (the
index 7bfd19e0ce3755f4820be11d2ab1ea20e98f7573..5839eab3654a675dd90520d0907d603f6a00d3c0 100644 (file)
@@ -11,7 +11,7 @@
    * Python always adds an empty entry at the start, which corresponds
      to the current directory.
 
-   * If the PYTHONPATH env. var. exists, it's entries are added next.
+   * If the PYTHONPATH env. var. exists, its entries are added next.
 
    * We attempt to locate the "Python Home" - if the PYTHONHOME env var
      is set, we believe it.  Otherwise, we use the path of our host .EXE's
index 95fc277c8854f4eff07d772615e2c4a01069d526..f8439f218cc39ddae151fe803f07706f5bab3934 100644 (file)
@@ -9,7 +9,7 @@
  * This program is to be launched with redirected standard
  * handles. It will launch the command line specified 16-bit
  * console based application in the same console, forwarding
- * it's own redirected standard handles to the 16-bit child.
+ * its own redirected standard handles to the 16-bit child.
 
  * AKA solution to the problem described in KB: Q150956.
  */    
index c76da78b1899896728df63b9ad35d59993c00eae..d20efc31649978b5e691d56a1672c48f7be0a266 100644 (file)
@@ -107,7 +107,7 @@ Running as a Modal Dialog
         master[*]
             the master window to use as the parent of the modal
             dialog.  Without this argument, pyColorChooser will create 
-            it's own Tkinter.Tk instance as the master.  This may not
+            its own Tkinter.Tk instance as the master.  This may not
             be what you want.
 
         databasefile
index f7da479dcc6fead1c2bcb0dcc6f99a976920e1d0..8d17d5527efbcb2550e2d3e6c6a3d0964b861ceb 100644 (file)
@@ -268,7 +268,7 @@ class StripWidget:
         else:
             # decimal
             text = repr(coloraxis)
-        # move the arrow, and set it's text
+        # move the arrow, and set its text
         if coloraxis <= 128:
             # use the left arrow
             self.__leftarrow.set_text(text)