Mercurial > cpython-lru_cache-weakref
comparison Python/mysnprintf.c @ 52976:ae5f5156b882
Removed unused #include.
| author | Eric Smith <eric@trueblade.com> |
|---|---|
| date | Tue, 07 Apr 2009 22:55:31 +0000 |
| parents | 2925b568aacc |
| children | cab14be0ada1 |
comparison
equal
deleted
inserted
replaced
| 52974:db18e78b92d8 | 52976:ae5f5156b882 |
|---|---|
| 1 #include "Python.h" | 1 #include "Python.h" |
| 2 #include <ctype.h> | |
| 3 | 2 |
| 4 /* snprintf() wrappers. If the platform has vsnprintf, we use it, else we | 3 /* snprintf() wrappers. If the platform has vsnprintf, we use it, else we |
| 5 emulate it in a half-hearted way. Even if the platform has it, we wrap | 4 emulate it in a half-hearted way. Even if the platform has it, we wrap |
| 6 it because platforms differ in what vsnprintf does in case the buffer | 5 it because platforms differ in what vsnprintf does in case the buffer |
| 7 is too small: C99 behavior is to return the number of characters that | 6 is too small: C99 behavior is to return the number of characters that |
