[Python-Dev] Adding insint() function (original) (raw)

Fred L. Drake, Jr. fdrake@beopen.com
Fri, 18 Aug 2000 14:40:48 -0400 (EDT)


Vladimir Marangozov writes:

So name it PyModule_AddConstant(module, name, constant), which fails with "can't add constant to module" err msg.

Even better! I expect there should be at least a couple of these; one for ints, one for strings.

-Fred

-- Fred L. Drake, Jr. BeOpen PythonLabs Team Member