This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-02-25 00:00:01 +00:00
parent f823f6ba6f
commit 721980c4e2

View File

@@ -12759,7 +12759,7 @@ The object is created in Python for example from `src/dev/alpha/Tsunami.py` as:
fb = BadDevice(pio_addr=0x801fc0003d0, devicename='FrameBuffer')
....
Since `BadDevice` has no `+__init__+` method, and neither `BasicPioDevice`, it all just falls through until the SimObject.__init__ constructor.
Since `BadDevice` has no `+__init__+` method, and neither `BasicPioDevice`, it all just falls through until the `+SimObject.__init__+` constructor.
This constructor will loop through the inheritance chain and give the Python parameters to the C++ BadDeviceParams class as follows.