[Python-Dev] _PyString_InsertThousandsGrouping() (original) (raw)
Carlos Nepomuceno carlosnepomuceno at outlook.com
Thu May 23 06🔞11 CEST 2013
- Previous message: [Python-Dev] _PyString_InsertThousandsGrouping()
- Next message: [Python-Dev] _PyString_InsertThousandsGrouping()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: eliben at gmail.com [...] I've found the following declaration in 'Objects/stringobject.c' but it just defines PyInsertThousandsGrouping() as PyStringInsertThousandsGrouping():
"#define PyInsertThousandsGrouping PyStringInsertThousandsGrouping" I'm looking for the opposite! No, you aren't :-) #define PyInsertThousandsGrouping PyStringInsertThousandsGrouping #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?
- Previous message: [Python-Dev] _PyString_InsertThousandsGrouping()
- Next message: [Python-Dev] _PyString_InsertThousandsGrouping()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]