diff options
| author | Georg Brandl <georg@python.org> | 2007-11-29 17:24:34 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2007-11-29 17:24:34 +0000 |
| commit | ba956aebb96c38f1b8818189ed6ab18d5441313a (patch) | |
| tree | 8cd8aba4cf4559f7e8e2086ea9ad05b4be91187f /Doc/reference/lexical_analysis.rst | |
| parent | 0db38532b304c89a998e4fc53b3ac8cd7ff23a8a (diff) | |
| download | cpython-git-ba956aebb96c38f1b8818189ed6ab18d5441313a.tar.gz | |
Remove mentions of "long integer" in the docs.
Credits to HappySmileMan from GHOP.
Diffstat (limited to 'Doc/reference/lexical_analysis.rst')
| -rw-r--r-- | Doc/reference/lexical_analysis.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst index 37ef6072ba..1b315a648e 100644 --- a/Doc/reference/lexical_analysis.rst +++ b/Doc/reference/lexical_analysis.rst @@ -567,12 +567,12 @@ styles for each component (even mixing raw strings and triple quoted strings). Numeric literals ---------------- -.. index:: number, numeric literal, integer literal, plain integer literal - long integer literal, floating point literal, hexadecimal literal +.. index:: number, numeric literal, integer literal + floating point literal, hexadecimal literal octal literal, binary literal, decimal literal, imaginary literal, complex literal -There are four types of numeric literals: plain integers, long integers, -floating point numbers, and imaginary numbers. There are no complex literals +There are three types of numeric literals: plain integers, floating point +numbers, and imaginary numbers. There are no complex literals (complex numbers can be formed by adding a real number and an imaginary number). Note that numeric literals do not include a sign; a phrase like ``-1`` is |
