[pypy-svn] r7354 - in pypy/trunk/src/pypy: interpreter objspace/flow objspace/std
bob at codespeak.net
bob at codespeak.net
Thu Nov 18 09:38:01 CET 2004
Date: Thu Nov 18 09:38:00 2004
New Revision: 7354
a few spelling corrections in comments
--- pypy/trunk/src/pypy/interpreter/gateway.py (original)
+++ pypy/trunk/src/pypy/interpreter/gateway.py Thu Nov 18 09:38:00 2004
@@ -167,7 +167,7 @@
# This is similar to a Function object, but not bound to a particular
# object space. During the call, the object space is either given
- # explicitely as the first argument (for plain function), or is read
+ # explicitly as the first argument (for plain function), or is read
# from 'self.space' for methods.
# after initialization the following attributes should be set
@@ -262,7 +262,7 @@
return [space.wrap(val) for val in self.staticdefs]
def __call__(self, space, *args_w):
- # to call the Gateway as a non-method, 'space' must be explicitely
+ # to call the Gateway as a non-method, 'space' must be explicitly
# supplied. We build the Function object and call it.
fn = self.get_function(space)
return space.call_function(space.wrap(fn), *args_w)
--- pypy/trunk/src/pypy/objspace/flow/objspace.py (original)
+++ pypy/trunk/src/pypy/objspace/flow/objspace.py Thu Nov 18 09:38:00 2004
@@ -265,7 +265,7 @@
# exception-raising return block in the flow graph. The special
# value 'wrap(last_exception)' is used as a marker for this kind
# of implicit exceptions, and simplify.py will remove it as per
- # the RPython definition: implicit exceptions not explicitely
+ # the RPython definition: implicit exceptions not explicitly
# caught in the same function are assumed not to occur.
context = self.getexecutioncontext()
outcome = context.guessexception(*exceptions)
--- pypy/trunk/src/pypy/objspace/std/multimethod.py (original)
+++ pypy/trunk/src/pypy/objspace/std/multimethod.py Thu Nov 18 09:38:00 2004
@@ -19,13 +19,13 @@
# BoundMultiMethod is a MultiMethod or UnboundMultiMethod which
# has been found to a specific object space. It is obtained by
-# 'space.xxx' or explicitely by calling 'xxx.get(space)'.
+# 'space.xxx' or explicitly by calling 'xxx.get(space)'.
# UnboundMultiMethod is a MultiMethod on which one argument
# (typically the first one) has been restricted to be of some
# statically known type. It is obtained by the syntax
# W_XxxType.yyy, where W_XxxType is the static type class,
-# or explicitely by calling 'xxx.slice(typeclass, arg_position)'.
+# or explicitly by calling 'xxx.slice(typeclass, arg_position)'.
# Its dispatch table is always a subset of the dispatch table of
# the original MultiMethod; a new function registered in either
# one may be automatically registered in the other one to keep
--- pypy/trunk/src/pypy/objspace/std/objspace.py (original)
+++ pypy/trunk/src/pypy/objspace/std/objspace.py Thu Nov 18 09:38:00 2004
@@ -382,7 +382,7 @@
# import the common base W_ObjectObject as well as
# default implementations of some multimethods for all objects
-# that don't explicitely override them or that raise FailedToImplement
+# that don't explicitly override them or that raise FailedToImplement
from pypy.objspace.std.register_all import register_all
--- pypy/trunk/src/pypy/objspace/std/register_all.py (original)
+++ pypy/trunk/src/pypy/objspace/std/register_all.py Thu Nov 18 09:38:00 2004
@@ -104,7 +104,7 @@
- Add the missing comparison operators if they were not explicitely
+ Add the missing comparison operators if they were not explicitly
defined: eq <-> ne and lt <-> le <-> gt <-> ge.
We try to add them in the order defined by the OP_CORRESPONDANCES
table, thus favouring swapping the arguments over negating the result.
More information about the Pypy-commit