From: Jack Jansen Date: Fri, 29 Mar 2002 14:27:06 +0000 (+0000) Subject: In MachoPython print "Pythonw" in banner to distinguish from command-line X-Git-Tag: v2.3c1~6267 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0035fb27f4c633f838755ba1689d0e49eecf387b;p=python In MachoPython print "Pythonw" in banner to distinguish from command-line python. Removed debug output. --- diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c index 71b42e9e92..02d0a82a0d 100644 --- a/Mac/Python/macmain.c +++ b/Mac/Python/macmain.c @@ -535,7 +535,6 @@ locateResourcePy(char * resourceName, char * resourceURLCStr, int length) { int main(int argc, char **argv) { - int i; static char scriptpath[1024]; char *script = NULL; @@ -556,13 +555,8 @@ main(int argc, char **argv) if (locateResourcePy("__main__.py", scriptpath, 1024)) script = scriptpath; - printf("original argc=%d\n", argc); - for(i=0; i