Skip to content

Commit

Permalink
misc. typos
Browse files Browse the repository at this point in the history
Found via `codespell`
  • Loading branch information
luzpaz authored and jagerman committed Jan 11, 2018
1 parent 507da41 commit 28cb676
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/advanced/exceptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -138,5 +138,5 @@ section.
error return without exception set``.

Exceptions that you do not plan to handle should simply not be caught, or
may be explicity (re-)thrown to delegate it to the other,
may be explicitly (re-)thrown to delegate it to the other,
previously-declared existing exception translators.
2 changes: 1 addition & 1 deletion docs/advanced/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ targeted arguments can be passed through the :class:`cpp_function` constructor:
.. warning::

Code with invalid return value policies might access unitialized memory or
Code with invalid return value policies might access uninitialized memory or
free data structures multiple times, which can lead to hard-to-debug
non-determinism and segmentation faults, hence it is worth spending the
time to understand all the different options in the table above.
Expand Down
2 changes: 1 addition & 1 deletion tests/test_exceptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#include "pybind11_tests.h"

// A type that should be raised as an exeption in Python
// A type that should be raised as an exception in Python
class MyException : public std::exception {
public:
explicit MyException(const char * m) : message{m} {}
Expand Down
2 changes: 1 addition & 1 deletion tests/test_operator_overloading.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def test_nested():

del c
pytest.gc_collect()
del a # Should't delete while abase is still alive
del a # Shouldn't delete while abase is still alive
pytest.gc_collect()

assert abase.value == 42
Expand Down
2 changes: 1 addition & 1 deletion tools/FindPythonLibsNew.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# - Find python libraries
# This module finds the libraries corresponding to the Python interpeter
# This module finds the libraries corresponding to the Python interpreter
# FindPythonInterp provides.
# This code sets the following variables:
#
Expand Down

0 comments on commit 28cb676

Please sign in to comment.