No description, website, or topics provided.
Python C Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build/temp.macosx-10.10-x86_64-2.7
Readme.md
build.sh
inheritance.c
inheritance.pxd
inheritance.pyx
main.pyx
setup.py
test.py

Readme.md

How to run?

bash build.sh

After that, you should see the following output:

People: 0.5
Man: 0.1
Woman: 0.2

Problems

If we replace double with floating in both inheritance.pxd and inheritance.pyx, it will result in a compile error saying that inheritance.pxd:4:15: C method '__pyx_fuse_0greet' is declared but not defined.