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
d399b886
Commit
d399b886
authored
Jul 28, 2002
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch #552812: Better description in "python -h" for -u.
parent
98e008d5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
Misc/python.man
Misc/python.man
+5
-1
Modules/main.c
Modules/main.c
+1
-0
No files found.
Misc/python.man
View file @
d399b886
...
@@ -138,7 +138,11 @@ indentation in a way that makes it depend on the worth of a tab
...
@@ -138,7 +138,11 @@ indentation in a way that makes it depend on the worth of a tab
expressed in spaces. Issue an error when the option is given twice.
expressed in spaces. Issue an error when the option is given twice.
.TP
.TP
.B \-u
.B \-u
Force stdin, stdout and stderr to be totally unbuffered.
Force stdin, stdout and stderr to be totally unbuffered. Note that
there is internal buffering in xreadlines(), readlines() and file-object
iterators ("for line in sys.stdin") which is not influenced by this
option. To work around this, you will want to use "sys.stdin.readline()"
inside a "while 1:" loop.
.TP
.TP
.B \-v
.B \-v
Print a message each time a module is initialized, showing the place
Print a message each time a module is initialized, showing the place
...
...
Modules/main.c
View file @
d399b886
...
@@ -62,6 +62,7 @@ static char *usage_2 = "\
...
@@ -62,6 +62,7 @@ static char *usage_2 = "\
-S : don't imply 'import site' on initialization
\n
\
-S : don't imply 'import site' on initialization
\n
\
-t : issue warnings about inconsistent tab usage (-tt: issue errors)
\n
\
-t : issue warnings about inconsistent tab usage (-tt: issue errors)
\n
\
-u : unbuffered binary stdout and stderr (also PYTHONUNBUFFERED=x)
\n
\
-u : unbuffered binary stdout and stderr (also PYTHONUNBUFFERED=x)
\n
\
see man page for details on internal buffering relating to "
-
u"
\n
\
"
;
"
;
static
char
*
usage_3
=
"\
static
char
*
usage_3
=
"\
-v : verbose (trace import statements) (also PYTHONVERBOSE=x)
\n
\
-v : verbose (trace import statements) (also PYTHONVERBOSE=x)
\n
\
...
...
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