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 #255

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
4 changes: 2 additions & 2 deletions docs/API Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ parse_list(address_list, strict=False, as_tuple=False)
| strict | Operate parser in strict (stop at any error) or relaxed (attempt to recover and continue). (Default: False) |
| as_tuple | Return just the parsed list addresses, or also the unparsed portions. (Default: False) |

*Return Value*: If opearting in strict mode, returns a list of parsed EmailAddress objects. If operating
*Return Value*: If operating in strict mode, returns a list of parsed EmailAddress objects. If operating
in relaxed mode, can return a tuple that contains the parsed addresses and unparsable portions or just
the parsed addresses in a list.

Expand Down Expand Up @@ -106,7 +106,7 @@ validate_list(addr_list, as_tuple=True)
| address_list | A delimiter (either `,` or `;`) separated list of addresses. (Maximum: 524288 characters) |
| as_tuple | Return just the parsed list addresses, or also the unparsed portions. (Default: False) |

*Return Value*: If opearting in strict mode, returns a list of parsed EmailAddress objects. If operating
*Return Value*: If operating in strict mode, returns a list of parsed EmailAddress objects. If operating
in relaxed mode, can return a tuple that contains the parsed addresses and unparsable portions or just
the parsed addresses in a list.

Expand Down
2 changes: 1 addition & 1 deletion docs/User Manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ can loose some information because of broken or unknown encodings.
#### Parsing MIME messages

For the following examples, the below MIME messages will be used as examples, they will be
refered to as `message_singlepart` and `message_multipart` respectivly.
referred to as `message_singlepart` and `message_multipart` respectivly.

**message_singlepart**:
```
Expand Down
2 changes: 1 addition & 1 deletion tests/addresslib/plugins/aol_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def mock_exchanger_lookup(arg, metrics=False):

def test_exchanger_lookup():
'''
Test if exchanger lookup is occuring correctly. If this simple test
Test if exchanger lookup is occurring correctly. If this simple test
fails that means custom grammar was hit. Then the rest of the tests
can be mocked. Should always be run during deployment, can be skipped
during development.
Expand Down
2 changes: 1 addition & 1 deletion tests/addresslib/plugins/gmail_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def mock_exchanger_lookup(arg, metrics=False):

def test_exchanger_lookup():
'''
Test if exchanger lookup is occuring correctly. If this simple test
Test if exchanger lookup is occurring correctly. If this simple test
fails that means custom grammar was hit. Then the rest of the tests
can be mocked. Should always be run during deployment, can be skipped
during development.
Expand Down
2 changes: 1 addition & 1 deletion tests/addresslib/plugins/google_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def mock_exchanger_lookup(arg, metrics=False):

def test_exchanger_lookup():
'''
Test if exchanger lookup is occuring correctly. If this simple test
Test if exchanger lookup is occurring correctly. If this simple test
fails that means custom grammar was hit. Then the rest of the tests
can be mocked. Should always be run during deployment, can be skipped
during development.
Expand Down
2 changes: 1 addition & 1 deletion tests/addresslib/plugins/hotmail_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def mock_exchanger_lookup(arg, metrics=False):

def test_exchanger_lookup():
'''
Test if exchanger lookup is occuring correctly. If this simple test
Test if exchanger lookup is occurring correctly. If this simple test
fails that means custom grammar was hit. Then the rest of the tests
can be mocked. Should always be run during deployment, can be skipped
during development.
Expand Down
2 changes: 1 addition & 1 deletion tests/addresslib/plugins/icloud_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def mock_exchanger_lookup(arg, metrics=False):

def test_exchanger_lookup():
'''
Test if exchanger lookup is occuring correctly. If this simple test
Test if exchanger lookup is occurring correctly. If this simple test
fails that means custom grammar was hit. Then the rest of the tests
can be mocked. Should always be run during deployment, can be skipped
during development.
Expand Down
2 changes: 1 addition & 1 deletion tests/addresslib/plugins/yahoo_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def mock_exchanger_lookup(arg, metrics=False):

def test_exchanger_lookup():
'''
Test if exchanger lookup is occuring correctly. If this simple test
Test if exchanger lookup is occurring correctly. If this simple test
fails that means custom grammar was hit. Then the rest of the tests
can be mocked. Should always be run during deployment, can be skipped
during development.
Expand Down
2 changes: 1 addition & 1 deletion tests/mime/message/headers/headers_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def headers_multiple_values_test():
h.add('Received', '1')
eq_(['1', '2', '4'], h.getall('Received'))

# use prepend to insert header in the begining of the list
# use prepend to insert header in the beginning of the list
h.prepend('Received', '0')
eq_(['0', '1', '2', '4'], h.getall('Received'))

Expand Down