mirror of
https://github.com/pybind/pybind11.git
synced 2026-03-14 20:27:47 +00:00
Render py::int_ as int in docstrings
This commit is contained in:
committed by
Wenzel Jakob
parent
90d99b56a0
commit
4f1531c454
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user