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
4e3a2778
Commit
4e3a2778
authored
Oct 01, 2003
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no longer assign into sys; "print chevron" is the way to go
parent
94b3463f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
Doc/tools/mkhowto
Doc/tools/mkhowto
+6
-7
No files found.
Doc/tools/mkhowto
View file @
4e3a2778
...
...
@@ -64,14 +64,13 @@ PERL_BINARY = "perl"
PYTHON_BINARY
=
"python"
def
usage
(
options
):
print
__doc__
%
options
def
usage
(
options
,
file
):
print
>>
file
,
__doc__
%
options
def
error
(
options
,
message
,
err
=
2
):
sys
.
stdout
=
sys
.
stderr
print
message
print
usage
(
options
)
print
>>
sys
.
stderr
,
message
print
>>
sys
.
stderr
usage
(
options
,
sys
.
stderr
)
sys
.
exit
(
2
)
...
...
@@ -151,7 +150,7 @@ class Options:
self
.
formats
=
list
(
self
.
ALL_FORMATS
)
self
.
dvips_safe
=
"ps"
in
self
.
formats
elif
opt
in
(
"-H"
,
"--help"
):
usage
(
self
)
usage
(
self
,
sys
.
stdout
)
sys
.
exit
()
elif
opt
==
"--iconserver"
:
self
.
icon_server
=
arg
...
...
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