Mercurial > cpython-lru_cache-weakref
comparison Python/pythonrun.c @ 1911:a7f269610ec2 legacy-trunk
* Python/pythonrun.c: add string "Python" to fatal error message
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 29 Sep 1994 09:38:33 +0000 |
| parents | 20f17b5accbf |
| children | eee3d715f0cf |
comparison
equal
deleted
inserted
replaced
| 1910:35947f60528e | 1911:a7f269610ec2 |
|---|---|
| 511 | 511 |
| 512 void | 512 void |
| 513 fatal(msg) | 513 fatal(msg) |
| 514 char *msg; | 514 char *msg; |
| 515 { | 515 { |
| 516 fprintf(stderr, "Fatal error: %s\n", msg); | 516 fprintf(stderr, "Fatal Python error: %s\n", msg); |
| 517 abort(); | 517 abort(); |
| 518 } | 518 } |
| 519 | 519 |
| 520 /* Clean up and exit */ | 520 /* Clean up and exit */ |
| 521 | 521 |
