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
5b43ac42
Commit
5b43ac42
authored
Jan 19, 2021
by
Henry Fredrick Schreiner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: fix missing line from #2310
parent
2db0264a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
include/pybind11/iostream.h
+2
-4
No files found.
include/pybind11/iostream.h
View file @
5b43ac42
...
@@ -104,10 +104,8 @@ PYBIND11_NAMESPACE_END(detail)
...
@@ -104,10 +104,8 @@ PYBIND11_NAMESPACE_END(detail)
.. code-block:: cpp
.. code-block:: cpp
{
{
py::scoped_ostream_redirect output{
py::scoped_ostream_redirect output{std::cerr, py::module::import("sys").attr("stderr")};
std::cerr,
std::cout << "Hello, World!";
py::module::import("sys").attr("stderr")
};
}
}
\endrst */
\endrst */
class
scoped_ostream_redirect
{
class
scoped_ostream_redirect
{
...
...
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