Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pybind11
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pybind11
Commits
1a432b42
Unverified
Commit
1a432b42
authored
Feb 12, 2022
by
Chris Ohk
Committed by
GitHub
Feb 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: Correct minor typos (#3721)
parent
6493f496
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
noxfile.py
+2
-2
tests/test_sequences_and_iterators.cpp
+1
-1
tools/pybind11Config.cmake.in
+1
-1
No files found.
noxfile.py
View file @
1a432b42
...
...
@@ -2,7 +2,7 @@ import nox
nox
.
options
.
sessions
=
[
"lint"
,
"tests"
,
"tests_packaging"
]
PYTHON_VER
IS
ONS
=
[
"3.5"
,
"3.6"
,
"3.7"
,
"3.8"
,
"3.9"
,
"3.10"
,
"3.11"
]
PYTHON_VER
SI
ONS
=
[
"3.5"
,
"3.6"
,
"3.7"
,
"3.8"
,
"3.9"
,
"3.10"
,
"3.11"
]
@nox.session
(
reuse_venv
=
True
)
...
...
@@ -14,7 +14,7 @@ def lint(session: nox.Session) -> None:
session
.
run
(
"pre-commit"
,
"run"
,
"-a"
)
@nox.session
(
python
=
PYTHON_VER
IS
ONS
)
@nox.session
(
python
=
PYTHON_VER
SI
ONS
)
def
tests
(
session
:
nox
.
Session
)
->
None
:
"""
Run the tests (requires a compiler).
...
...
tests/test_sequences_and_iterators.cpp
View file @
1a432b42
...
...
@@ -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_iterat
e
r_referencing
// test_iterat
o
r_referencing
py
::
class_
<
NonCopyableInt
>
(
m
,
"NonCopyableInt"
)
.
def
(
py
::
init
<
int
>
())
.
def
(
"set"
,
&
NonCopyableInt
::
set
)
...
...
tools/pybind11Config.cmake.in
View file @
1a432b42
...
...
@@ -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)
VISIB
I
LITY_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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment