Mercurial > cpython-lru_cache-weakref
view Modules/python.c @ 23150:52257affe0c9 2.2
backport gvanrossum's patch:
Deprecate % as well. The message for deprecation of //, % and divmod
is the same in all three cases (mostly because // calls divmod :-).
Original patches were:
python/dist/src/Objects/complexobject.c:2.59
| author | Anthony Baxter <anthonybaxter@gmail.com> |
|---|---|
| date | Thu, 18 Apr 2002 05:39:54 +0000 |
| parents | a6c7bfdd6777 |
| children | f66b3a3509c7 |
line wrap: on
line source
/* Minimal main program -- everything is loaded from the library */ #include "Python.h" extern DL_EXPORT(int) Py_Main(int, char **); int main(int argc, char **argv) { return Py_Main(argc, argv); }
