[Python-Dev] sum() in math module not duplicated?

A.M. Kuchling amk at amk.ca
Fri Jun 20 04:16:34 CEST 2008


In the comments before the implementation of sum()
in mathmodule.c, note 4 says:

   Note 4: A similar implementation is in Modules/cmathmodule.c.
   Be sure to update both when making changes.

I can't find a sum implementation or similar code in cmathmodule.c.
Did someone intend to port the sum function to cmath, or was it copied
and then taken out?  I'm wondering if this note should simply be
removed.

--amk


More information about the Python-Dev mailing list