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
c6ff0a80
Commit
c6ff0a80
authored
Aug 19, 1996
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
getprogramname -> Py_GetProgramName.
parent
f2519a59
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Python/frozenmain.c
Python/frozenmain.c
+2
-2
No files found.
Python/frozenmain.c
View file @
c6ff0a80
...
@@ -30,7 +30,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
...
@@ -30,7 +30,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
extern
char
*
Py_GetVersion
();
extern
char
*
Py_GetVersion
();
extern
char
*
Py_GetCopyright
();
extern
char
*
Py_GetCopyright
();
/* For
getprogramn
ame(); set by main() */
/* For
Py_GetProgramN
ame(); set by main() */
static
char
*
argv0
;
static
char
*
argv0
;
/* Main program */
/* Main program */
...
@@ -87,7 +87,7 @@ main(argc, argv)
...
@@ -87,7 +87,7 @@ main(argc, argv)
}
}
char
*
char
*
getprogramn
ame
()
Py_GetProgramN
ame
()
{
{
return
argv0
;
return
argv0
;
}
}
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