Skip to content

Commit

Permalink
docs: Correct minor typos (#3721)
Browse files Browse the repository at this point in the history
  • Loading branch information
utilForever authored Feb 11, 2022
1 parent 6493f49 commit 1a432b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

nox.options.sessions = ["lint", "tests", "tests_packaging"]

PYTHON_VERISONS = ["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
PYTHON_VERSIONS = ["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]


@nox.session(reuse_venv=True)
Expand All @@ -14,7 +14,7 @@ def lint(session: nox.Session) -> None:
session.run("pre-commit", "run", "-a")


@nox.session(python=PYTHON_VERISONS)
@nox.session(python=PYTHON_VERSIONS)
def tests(session: nox.Session) -> None:
"""
Run the tests (requires a compiler).
Expand Down
2 changes: 1 addition & 1 deletion tests/test_sequences_and_iterators.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ TEST_SUBMODULE(sequences_and_iterators, m) {
[](IntPairs &self) { return py::make_value_iterator(self, py::call_guard<int>()); },
py::keep_alive<0, 1>());

// test_iterater_referencing
// test_iterator_referencing
py::class_<NonCopyableInt>(m, "NonCopyableInt")
.def(py::init<int>())
.def("set", &NonCopyableInt::set)
Expand Down
2 changes: 1 addition & 1 deletion tools/pybind11Config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ you can either use the basic targets, or use the FindPython tools:
set_target_properties(MyModule2 PROPERTIES
INTERPROCEDURAL_OPTIMIZATION ON
CXX_VISIBILITY_PRESET ON
VISIBLITY_INLINES_HIDDEN ON)
VISIBILITY_INLINES_HIDDEN ON)
If you build targets yourself, you may be interested in stripping the output
for reduced size; this is the one other feature that the helper function gives you.
Expand Down

0 comments on commit 1a432b4

Please sign in to comment.