mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00:00
another typo (#1675)
This commit is contained in:
parent
9424d5d277
commit
492da592c2
@ -153,7 +153,7 @@ Here is an example:
|
|||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
class Dachschund(Dog):
|
class Dachshund(Dog):
|
||||||
def __init__(self, name):
|
def __init__(self, name):
|
||||||
Dog.__init__(self) # Without this, undefined behavior may occur if the C++ portions are referenced.
|
Dog.__init__(self) # Without this, undefined behavior may occur if the C++ portions are referenced.
|
||||||
self.name = name
|
self.name = name
|
||||||
|
Loading…
Reference in New Issue
Block a user