fix segfaults

When methods are declared with the METH_NOARGS flag, the second argument
is set to NULL. So dereferencing it causes a segfault.
Merge pull request #10 from sbyrnes321/fix-methnoargs-segfaults

fix segfaults