Mercurial > cpython-lru_cache-weakref
view Mac/PythonLauncher/main.m @ 39042:c02fa187e0f4 legacy-trunk
Part of SF patch #1484695. This removes dead code. The chksum was
already verified in .frombuf() on the lines above. If there was
a problem an exception is raised, so there was no way this condition
could have been true.
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Mon, 10 Jul 2006 00:23:17 +0000 |
| parents | 1cb2ece4b9e1 |
| children | 5d41ebc79738 |
line wrap: on
line source
// // main.m // PythonLauncher // // Created by Jack Jansen on Fri Jul 19 2002. // Copyright (c) 2002 __MyCompanyName__. All rights reserved. // #import <Cocoa/Cocoa.h> #include <unistd.h> int main(int argc, const char *argv[]) { char *home = getenv("HOME"); if (home) chdir(home); return NSApplicationMain(argc, argv); }
