Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fix a few typos #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyamf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ def check_attr(attr):

def set_default_etree(etree):
"""
Sets the default interface that will called apon to both de/serialise XML
Sets the default interface that will called upon to both de/serialise XML
entities. This means providing both C{tostring} and C{fromstring}
functions.

Expand Down
2 changes: 1 addition & 1 deletion pyamf/alias.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ def getDecodableAttributes(self, obj, attrs, codec=None):
based on the supplied C{attrs}. This allows for fine grain control
over what will finally end up on the object or not.

@param obj: The object that will recieve the attributes.
@param obj: The object that will receive the attributes.
@param attrs: The C{attrs} dictionary that has been decoded.
@param codec: An optional argument that will contain the decoder
instance calling this function.
Expand Down
4 changes: 2 additions & 2 deletions pyamf/flex/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

class DataMessage(AsyncMessage):
"""
I am used to transport an operation that occured on a managed object
I am used to transport an operation that occurred on a managed object
or collection.

This class of message is transmitted between clients subscribed to a
Expand Down Expand Up @@ -115,7 +115,7 @@ class DataErrorMessage(ErrorMessage):

def __init__(self):
ErrorMessage.__init__(self)
#: The client oringinated message which caused the conflict.
#: The client originated message which caused the conflict.
self.cause = None
#: An array of properties that were found to be conflicting
#: between the client and server objects.
Expand Down
2 changes: 1 addition & 1 deletion pyamf/tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
def assertIdentical(self, first, second, msg=None):
"""
Fail the test if C{first} is not C{second}. This is an
obect-identity-equality test, not an object equality (i.e. C{__eq__})
object-identity-equality test, not an object equality (i.e. C{__eq__})
test.

@param msg: if msg is None, then the failure message will be
Expand Down
4 changes: 2 additions & 2 deletions pyamf/tests/test_alias.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test_init(self):

def test_init_deferred(self):
"""
Test for initial deferred compliation
Test for initial deferred compilation
"""
x = ClassAlias(Spam, defer=True)

Expand Down Expand Up @@ -502,7 +502,7 @@ def test_dict(self):

class SimpleCompliationTestCase(unittest.TestCase):
"""
Tests for L{ClassAlias} property compliation for no inheritance.
Tests for L{ClassAlias} property compilation for no inheritance.
"""

def test_compiled(self):
Expand Down
2 changes: 1 addition & 1 deletion pyamf/tests/test_amf3.py
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ def test_external(self):
def test_anonymous_class_references(self):
"""
Test to ensure anonymous class references with static attributes
are encoded propertly
are encoded properly
"""
class Foo:
class __amf__:
Expand Down
6 changes: 3 additions & 3 deletions pyamf/tests/test_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def test_process_request(self):
self.assertEqual(response.body, 'spam')

def test_unknown_service(self):
# Test a non existant service call
# Test a non existent service call
gw = gateway.BaseGateway({'test': TestService})
envelope = remoting.Envelope()

Expand All @@ -398,11 +398,11 @@ def test_unknown_service(self):
self.assertEqual(response.body.details, None)

def test_debug_traceback(self):
# Test a non existant service call
# Test a non existent service call
gw = gateway.BaseGateway({'test': TestService}, debug=True)
envelope = remoting.Envelope()

# Test a non existant service call
# Test a non existent service call
request = remoting.Request('nope', envelope=envelope)
processor = gw.getProcessor(request)
response = processor(request)
Expand Down