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
a59052c3
Commit
a59052c3
authored
Jun 20, 2012
by
doko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not italicize punctuation in python(1) manual page (Matt Kraai).
parent
84a607b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
Misc/python.man
Misc/python.man
+6
-6
No files found.
Misc/python.man
View file @
a59052c3
...
...
@@ -257,9 +257,9 @@ executes a
from that file;
when called with
.B \-c
.I
command
,
.I
R command
,
it executes the Python statement(s) given as
.I
command
.
.I
R command
.
Here
.I command
may contain multiple statements separated by newlines.
...
...
@@ -269,7 +269,7 @@ executed.
.PP
If available, the script name and additional arguments thereafter are
passed to the script in the Python variable
.I sys.argv ,
.I
R
sys.argv ,
which is a list of strings (you must first
.I import sys
to be able to access it).
...
...
@@ -283,14 +283,14 @@ contains the string
.I '-c'.
Note that options interpreted by the Python interpreter itself
are not placed in
.I
sys.argv
.
.I
R sys.argv
.
.PP
In interactive mode, the primary prompt is `>>>'; the second prompt
(which appears when a command is not complete) is `...'.
The prompts can be changed by assignment to
.I sys.ps1
or
.I
sys.ps2
.
.I
R sys.ps2
.
The interpreter quits when it reads an EOF at a prompt.
When an unhandled exception occurs, a stack trace is printed and
control returns to the primary prompt; in non-interactive mode, the
...
...
@@ -346,7 +346,7 @@ If a script argument is given, the directory containing the script is
inserted in the path in front of $PYTHONPATH.
The search path can be manipulated from within a Python program as the
variable
.I sys.path .
.I
R
sys.path .
.IP PYTHONSTARTUP
If this is the name of a readable file, the Python commands in that
file are executed before the first prompt is displayed in interactive
...
...
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