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
a547dcaf
Commit
a547dcaf
authored
Jul 10, 1996
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Old names changed to Py_GetCopyright, etc.
parent
84d0bfcb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
Mac/Python/macgetcompiler.c
Mac/Python/macgetcompiler.c
+1
-1
Mac/Python/macgetpath.c
Mac/Python/macgetpath.c
+1
-1
Mac/Python/macgetplatform.c
Mac/Python/macgetplatform.c
+1
-1
Mac/Python/macmain.c
Mac/Python/macmain.c
+3
-3
No files found.
Mac/Python/macgetcompiler.c
View file @
a547dcaf
...
...
@@ -30,7 +30,7 @@
#endif
char
*
getc
ompiler
()
Py_GetC
ompiler
()
{
return
COMPILER
;
}
Mac/Python/macgetpath.c
View file @
a547dcaf
...
...
@@ -32,7 +32,7 @@
char
*
getpythonp
ath
()
Py_GetP
ath
()
{
/* Modified by Jack to do something a bit more sensible:
** - Prepend the python home-directory (which is obtained from a Preferences
...
...
Mac/Python/macgetplatform.c
View file @
a547dcaf
char
*
getp
latform
()
Py_GetP
latform
()
{
return
"mac"
;
}
...
...
Mac/Python/macmain.c
View file @
a547dcaf
...
...
@@ -54,8 +54,8 @@ extern int Py_SuppressPrintingFlag; /* For ceval.c, declared in pythonrun.c */
/* Subroutines that live in their own file */
extern
char
*
getv
ersion
Py_PROTO
((
void
));
extern
char
*
getc
opyright
Py_PROTO
((
void
));
extern
char
*
Py_GetV
ersion
Py_PROTO
((
void
));
extern
char
*
Py_GetC
opyright
Py_PROTO
((
void
));
/* For getprogramname(); set by main() */
...
...
@@ -336,7 +336,7 @@ Py_Main(argc, argv)
if
(
Py_VerboseFlag
||
command
==
NULL
&&
filename
==
NULL
&&
isatty
((
int
)
fileno
(
fp
)))
fprintf
(
stderr
,
"Python %s
\n
%s
\n
"
,
getversion
(),
getc
opyright
());
Py_GetVersion
(),
Py_GetC
opyright
());
if
(
filename
!=
NULL
)
{
if
((
fp
=
fopen
(
filename
,
"r"
))
==
NULL
)
{
...
...
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