Skip to content

Commit

Permalink
Fixed a handful of typos (#755)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex authored and hynek committed May 14, 2018
1 parent 15c2935 commit 40bc0f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/ChangeLog_old.txt
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ found at <https://pyopenssl.readthedocs.io/en/latest/changelog.html>.
2002-06-13 Martin Sjögren <martin@strakt.com>

* src/ssl/context.c: Changed global_verify_callback so that it uses
PyObject_IsTrue instead of requring ints.
PyObject_IsTrue instead of requiring ints.
* Added pymemcompat.h to make the memory management uniform and
backwards-compatible.
* src/util.h: Added conditional definition of PyModule_AddObject and
Expand Down
2 changes: 1 addition & 1 deletion tests/test_ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1483,7 +1483,7 @@ def test_set_verify_wrong_mode_arg(self, mode):
@pytest.mark.parametrize('callback', [None, 1.0, 'mode', ('foo', 'bar')])
def test_set_verify_wrong_callable_arg(self, callback):
"""
`Context.set_verify` raises `TypeError` if the the second argument
`Context.set_verify` raises `TypeError` if the second argument
is not callable.
"""
context = Context(TLSv1_METHOD)
Expand Down

0 comments on commit 40bc0f1

Please sign in to comment.