diff --git a/README.adoc b/README.adoc index b4d20db..f747d5e 100644 --- a/README.adoc +++ b/README.adoc @@ -14959,6 +14959,8 @@ The regular Python code can then use the native C classes as if they were define + Finally, the Python returns values back to the C code that called the interpreter. * link:userland/libs/python_embed/pure_cpp.cpp[]: C++ version of the above, the main goal of this example is to show how to interface with C++ classes. ++ +See also: https://stackoverflow.com/questions/2200912/inheritance-in-python-c-extension/60436902#60436902 One notable user of Python embedding is the <> simulator, see also: <>. gem5 embeds the Python interpreter in order to interpret scripts as seen from the CLI: