Render py::int_ as int in docstrings

This commit is contained in:
Sergei Izmailov
2020-05-15 00:11:39 +03:00
committed by Wenzel Jakob
parent 90d99b56a0
commit 4f1531c454
3 changed files with 5 additions and 0 deletions

View File

@@ -5,6 +5,8 @@ import sys
from pybind11_tests import pytypes as m
from pybind11_tests import debug_enabled
def test_int(doc):
assert doc(m.get_int) == "get_int() -> int"
def test_list(capture, doc):
with capture: