gamma approximation : what is module cmath and where is it located ?

Peter Otten __peter__ at
Thu Jul 30 02:41:00 EDT 2009

pdlemper at wrote:

> I've used python a few months and expected to find cmath seperately
> sort of as a " header file".  A text search failed.  I now understand
> its in the Python Standard Library, which I assume is that big file
> Python30\LIBS\libpython30.a        

Python 3.1 is no longer maintained. I recommend that you upgrade to Python 3.1.

> And this is not readable as text.

The module is written in C. The source code for the 3.1 version is here:

If you want the source for all parts of python written in C you can download the sourcecode at


More information about the Python-list mailing list