Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
daed771f
Commit
daed771f
authored
Sep 09, 1996
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Py_GetProgramName turns out not to be obsolete (used by _tkinter).
parent
ffb170ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
Mac/Python/macmain.c
Mac/Python/macmain.c
+0
-8
No files found.
Mac/Python/macmain.c
View file @
daed771f
...
...
@@ -60,13 +60,9 @@ extern char *Py_GetVersion Py_PROTO((void));
extern
char
*
Py_GetCopyright
Py_PROTO
((
void
));
/* #define OBSOLETE_ARGCARGV 1 /* I think this is not needed anymore... */
#ifdef OBSOLETE_ARGCARGV
/* For Py_GetArgcArgv(); set by main() */
static
char
**
orig_argv
;
static
int
orig_argc
;
#endif
PyMac_PrefRecord
options
;
...
...
@@ -364,10 +360,8 @@ Py_Main(argc, argv)
char
*
filename
=
NULL
;
FILE
*
fp
=
stdin
;
#ifdef OBSOLETE_ARGCARGV
orig_argc
=
argc
;
/* For Py_GetArgcArgv() */
orig_argv
=
argv
;
#endif
filename
=
argv
[
1
];
if
(
Py_VerboseFlag
||
...
...
@@ -447,7 +441,6 @@ PyMac_Exit(status)
exit
(
status
);
}
#ifdef OBSOLETE_ARGCARGV
/* Return the program name -- some code out there needs this. */
char
*
...
...
@@ -468,7 +461,6 @@ Py_GetArgcArgv(argc,argv)
*
argc
=
orig_argc
;
*
argv
=
orig_argv
;
}
#endif
/* OBSOLETE_ARGCARGV */
/* More cruft that shouldn't really be here, used in sysmodule.c */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment