Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ __init__
Method
__init__
tests/test_class.py:235–236 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
233
# Single base
234
class
Python(m.Pet):
235
def
__init__(self):
236
pass
237
238
with
pytest.raises(TypeError)
as
exc_info:
239
Python()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected