Commits

Stefano Rivera committed 188d16c

Spelling and grammatical errors spotted by lintian

Comments (0)

Files changed (15)

py/_io/capture.py

 
 
 class StdCaptureFD(Capture):
-    """ This class allows to capture writes to FD1 and FD2
+    """ This class allows capturing writes to FD1 and FD2
         and may connect a NULL file to FD0 (and prevent
         reads from sys.stdin).  If any of the 0,1,2 file descriptors
         is invalid it will not be captured.
         return l
 
 class StdCapture(Capture):
-    """ This class allows to capture writes to sys.stdout|stderr "in-memory"
-        and will raise errors on tries to read from sys.stdin. It only
+    """ This class allows capturing writes to sys.stdout|stderr "in-memory"
+        and will raise errors on read attempts from sys.stdin. It only
         modifies sys.stdout|stderr|stdin attributes and does not
         touch underlying File Descriptors (use StdCaptureFD for that).
     """

pypy/bin/reportstaticdata.py

 
 """
 Usage: reportstaticdata.py [-m1|-m2|-t] [OPTION]... FILENAME
-Print a report for the static data informations contained in FILENAME
+Print a report for the static data information contained in FILENAME
 
-The static data informations are saved in the file staticdata.info when
+The static data information is saved in the file staticdata.info when
 passing --dump_static_data_info to translate.py.
 
 Options:

pypy/jit/backend/cli/methodfactory.py

         return self.dynmeth.CreateDelegate(delegatetype, consts)
 
 
-# the assemblyData singleton contains the informations about the
+# the assemblyData singleton contains the information about the
 # assembly we are currently writing to
 class AssemblyData:
     assembly = None

pypy/jit/backend/model.py

         The FailDescr is the descr of the original guard that failed.
 
         Optionally, return a ``ops_offset`` dictionary.  See the docstring of
-        ``compiled_loop`` for more informations about it.
+        ``compiled_loop`` for more information about it.
         """
         raise NotImplementedError
 

pypy/jit/metainterp/optimizeopt/unroll.py

         except BadVirtualState:
             raise InvalidLoop('The state of the optimizer at the end of ' +
                               'peeled loop is inconsistent with the ' +
-                              'VirtualState at the begining of the peeled ' +
+                              'VirtualState at the beginning of the peeled ' +
                               'loop')
         jumpop.initarglist(jumpargs)
 

pypy/module/posix/app_posix.py

     def wait3(options):
         """ wait3(options) -> (pid, status, rusage)
 
-        Wait for completion of a child process and provides resource usage informations
+        Wait for completion of a child process and provides resource usage information
         """
         from _pypy_wait import wait3
         return wait3(options)
     def wait4(pid, options):
         """ wait4(pid, options) -> (pid, status, rusage)
 
-        Wait for completion of the child process "pid" and provides resource usage informations
+        Wait for completion of the child process "pid" and provides resource usage information
         """
         from _pypy_wait import wait4
         return wait4(pid, options)

pypy/module/pypyjit/interp_resop.py

     """ set_optimize_hook(hook)
 
     Set a compiling hook that will be called each time a loop is optimized,
-    but before assembler compilation. This allows to add additional
+    but before assembler compilation. This allows adding additional
     optimizations on Python level.
 
     The hook will be called with the pypyjit.JitLoopInfo object. Refer to it's

pypy/tool/bench/htmlreport.py

         )
 
     def render_revision_header(self, sample):
-        """return a header for a report with informations about
+        """return a header for a report with information about
         committer, messages, revision date.
         """
         revision_id = pyhtml.li('Revision ID: %s' % (sample.revision_id,))

pypy/tool/bench/result.py

 
         
 class PerfResultCollection(object):
-    """Holds informations about several PerfResult objects. The
+    """Holds information about several PerfResult objects. The
     objects should have the same test_id and revision_id"""
     
     def __init__(self, results=None):
     count = py.std.itertools.count() 
     def annotate(self, result):
         """Try to put extra information for each revision on the
-        PerfResult objects. These informations are retrieved from a
+        PerfResult objects. These information are retrieved from a
         branch object.
         """
         #if self.branch is None:

pypy/tool/memusage/log2gnumeric.py

 
     $ PYPYLOG=gc-collect,jit-mem:logfile pypy your-program.py
 
-This will produce "logfile", containing informations about the memory used by
+This will produce "logfile", containing information about the memory used by
 the GC and the number of loops created/freed by the JIT.
 
 If you want, you can also measure the amout of used memory as seen by the OS

pypy/tool/sourcetools.py

 # various helper functions
 #
 class MyStr(str):
-    """ custom string which allows to add attributes. """
+    """ custom string which allows adding attributes. """
 
 def newcode(fromcode, **kwargs):
     names = [x for x in dir(fromcode) if x[:3] == 'co_']

pypy/translator/goal/timing.py

 
-""" Module for keeping detailed informations about
+""" Module for keeping detailed information about
 times of certain driver parts
 """
 

pypy/translator/microbench/pybench/platform.py

                  split=re.compile('[\s,]').split):
 
     """ Queries the given executable (defaults to the Python interpreter
-        binary) for various architecture informations.
+        binary) for various architecture information.
 
         Returns a tuple (bits,linkage) which contain information about
         the bit architecture and the linkage format used for the

pypy/translator/platform/__init__.py

         largs = self._link_args_from_eci(eci, standalone)
         return self._link(cc_link, ofiles, largs, standalone, exe_name)
 
-    # below are some detailed informations for platforms
+    # below are some detailed information for platforms
 
     def include_dirs_for_libffi(self):
         dirs = self._include_dirs_for_libffi()

pypy/translator/tool/staticsizereport.py

     f = infofile.open('w')
     pickle.dump(info, f)
     f.close()
-    log.info('static data informations dumped to %s' % infofile)
+    log.info('static data information dumped to %s' % infofile)
     return infofile