Aaron Gokaslan
0fb981b219
Add blacken-docs and pycln pre-commit hooks ( #3292 )
...
* Apply blacken-docs and fix language-hints
* Add blacken-docs pre-commit hook
* Add pycln pre-commit hook
* Enable a few builtin hooks
* Black no longer ignores pyi files
2021-09-22 15:38:50 -04:00
Henry Schreiner
f0a65c899c
docs(fix): spelling mistake in recent commit
2021-07-12 16:57:28 -04:00
Ralf W. Grosse-Kunstleve
7472d37a93
Adding iostream.h thread-safety documentation. ( #2995 )
...
* Adding iostream.h thread-safety documentation.
* Restoring `TestThread` code with added `std::lock_guard<std::mutex>`.
* Updating new comments to reflect new information.
* Fixing up `git rebase -X theirs` accidents.
2021-07-12 13:39:06 -07:00
Henry Schreiner
6bcd220c8d
refactor: module -> module_ with typedef ( #2544 )
...
* WIP: module -> module_ without typedef
* refactor: allow py::module to work again
2020-10-03 13:38:03 -04:00
Henry Schreiner
8b40505575
Utility for redirecting C++ streams to Python ( #1009 )
2017-08-25 02:12:43 +02:00
Dean Moldovan
6d2411f1ac
Add tutorial page for embedding the interpreter
2017-05-28 02:12:24 +02:00
Dean Moldovan
076c738641
Add py::exec() as a shortcut for py::eval<py::eval_statements>()
2017-05-08 20:46:16 +02:00
Dean Moldovan
194d8b99b3
Support raw string literals as input for py::eval ( #766 )
...
* Support raw string literals as input for py::eval
* Dedent only when needed
2017-03-29 00:27:56 +02:00
Dean Moldovan
67b52d808e
Reorganize documentation
2016-10-20 15:21:34 +02:00