Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
8b1944d3
Unverified
Commit
8b1944d3
authored
Mar 17, 2022
by
JonTriebenbach
Committed by
GitHub
Mar 17, 2022
Browse files
Remove idioms in code comments (#3809)
parent
a7e7a6e8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
.github/workflows/ci.yml
.github/workflows/ci.yml
+1
-1
docs/advanced/pycpp/numpy.rst
docs/advanced/pycpp/numpy.rst
+1
-1
No files found.
.github/workflows/ci.yml
View file @
8b1944d3
...
...
@@ -667,7 +667,7 @@ jobs:
# This verifies that the documentation is not horribly broken, and does a
# basic
sanity
check on the SDist.
# basic
validation
check on the SDist.
doxygen
:
name
:
"
Documentation
build
test"
runs-on
:
ubuntu-latest
...
...
docs/advanced/pycpp/numpy.rst
View file @
8b1944d3
...
...
@@ -87,7 +87,7 @@ buffer objects (e.g. a NumPy matrix).
/* Request a buffer descriptor from Python */
py::buffer_info info = b.request();
/* Some
sanity
checks ... */
/* Some
basic validation
checks ... */
if (info.format != py::format_descriptor<Scalar>::format())
throw std::runtime_error("Incompatible format: expected a double array!");
...
...
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