________________________________ > From: eli...@gmail.com [...] > I've found the following declaration in 'Objects/stringobject.c' but it > just defines _Py_InsertThousandsGrouping() as > _PyString_InsertThousandsGrouping(): > > "#define _Py_InsertThousandsGrouping _PyString_InsertThousandsGrouping" > > I'm looking for the opposite! > > No, you aren't :-) > > #define _Py_InsertThousandsGrouping _PyString_InsertThousandsGrouping > #include "stringlib/localeutil.h" > > Now look inside "stringlib/localeutil.h" and think what the > pre-processor does with the function definition having the #define > above. > > Eli
lol I can see clearly now! :p That reminds me of "Which came first, the chicken or the egg?" Thank you! Somehow I got intrigued by such use... Do you know why they've put a lot of source code inside the header files? _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com