Mercurial > cpython-lru_cache-weakref
annotate Modules/python.c @ 25051:cbee2ed6cd75 legacy-trunk
Note change in behavior from 1.5.2. The new argument to NameError is
an error message and not just the missing name.
Closes SF Bug 599869.
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Tue, 27 Aug 2002 23:53:23 +0000 |
| parents | f66b3a3509c7 |
| children | 8eccfae04bb4 |
| rev | line source |
|---|---|
|
5853
92bcf4cc9421
This is now the "real" main program -- it calls Py_Main(argc, argv)
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
1 /* Minimal main program -- everything is loaded from the library */ |
|
92bcf4cc9421
This is now the "real" main program -- it calls Py_Main(argc, argv)
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
2 |
| 8894 | 3 #include "Python.h" |
| 4 | |
| 6055 | 5 int |
| 13481 | 6 main(int argc, char **argv) |
|
5853
92bcf4cc9421
This is now the "real" main program -- it calls Py_Main(argc, argv)
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
7 { |
|
92bcf4cc9421
This is now the "real" main program -- it calls Py_Main(argc, argv)
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
8 return Py_Main(argc, argv); |
|
92bcf4cc9421
This is now the "real" main program -- it calls Py_Main(argc, argv)
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
9 } |
