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
6fffa5e8
Commit
6fffa5e8
authored
May 20, 2006
by
George Yoshida
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- markup fix
- add clarifying words
parent
306b1f31
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
Doc/ref/ref2.tex
Doc/ref/ref2.tex
+1
-1
Doc/ref/ref6.tex
Doc/ref/ref6.tex
+4
-3
No files found.
Doc/ref/ref2.tex
View file @
6fffa5e8
...
...
@@ -652,7 +652,7 @@ Some examples of floating point literals:
\end{verbatim}
Note that numeric literals do not include a sign; a phrase like
\code
{
-1
}
is actually an expression composed of the operator
\code
{
-1
}
is actually an expression composed of the
unary
operator
\code
{
-
}
and the literal
\code
{
1
}
.
...
...
Doc/ref/ref6.tex
View file @
6fffa5e8
...
...
@@ -809,13 +809,14 @@ import __future__ [as name]
That is not a future statement; it's an ordinary import statement with
no special semantics or syntax restrictions.
Code compiled by an
exec
statement or calls to the builtin functions
Code compiled by an
\keyword
{
exec
}
statement or calls to the builtin functions
\function
{
compile()
}
and
\function
{
execfile()
}
that occur in a module
\module
{
M
}
containing a future statement will, by default, use the new
syntax or semantics associated with the future statement. This can,
starting with Python 2.2 be controlled by optional arguments to
\function
{
compile()
}
--- see the documentation of that function in the
library reference for details.
\function
{
compile()
}
--- see the documentation of that function in the
\citetitle
[../lib/built-in-funcs.html]
{
Python Library Reference
}
for
details.
A future statement typed at an interactive interpreter prompt will
take effect for the rest of the interpreter session. If an
...
...
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