mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	Fixed a number of small problems reported by Detlef Lannert
<lannert@uni-duesseldorf.de>.
This commit is contained in:
		
							parent
							
								
									f5855746fe
								
							
						
					
					
						commit
						fffe5dbc47
					
				
					 3 changed files with 8 additions and 9 deletions
				
			
		| 
						 | 
					@ -327,7 +327,7 @@ constructed by the comma operator (not within square brackets), with
 | 
				
			||||||
or without enclosing parentheses, but an empty tuple must have the
 | 
					or without enclosing parentheses, but an empty tuple must have the
 | 
				
			||||||
enclosing parentheses, e.g., \code{a, b, c} or \code{()}.  A single
 | 
					enclosing parentheses, e.g., \code{a, b, c} or \code{()}.  A single
 | 
				
			||||||
item tuple must have a trailing comma, e.g., \code{(d,)}.  Buffers are
 | 
					item tuple must have a trailing comma, e.g., \code{(d,)}.  Buffers are
 | 
				
			||||||
not directly support by Python syntax, but can created by calling the
 | 
					not directly supported by Python syntax, but can be created by calling the
 | 
				
			||||||
builtin function \function{buffer()}.\bifuncindex{buffer}  XRanges
 | 
					builtin function \function{buffer()}.\bifuncindex{buffer}  XRanges
 | 
				
			||||||
objects are similar to buffers in that there is no specific syntax to
 | 
					objects are similar to buffers in that there is no specific syntax to
 | 
				
			||||||
create them, but they are created using the \function{xrange()}
 | 
					create them, but they are created using the \function{xrange()}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -91,12 +91,11 @@ The functions defined in this module are:
 | 
				
			||||||
  is 0, a default base is chosen depending on the leading characters
 | 
					  is 0, a default base is chosen depending on the leading characters
 | 
				
			||||||
  of the string (after stripping the sign): \samp{0x} or \samp{0X}
 | 
					  of the string (after stripping the sign): \samp{0x} or \samp{0X}
 | 
				
			||||||
  means 16, \samp{0} means 8, anything else means 10.  If \var{base}
 | 
					  means 16, \samp{0} means 8, anything else means 10.  If \var{base}
 | 
				
			||||||
  is 16, a leading \samp{0x} or \samp{0X} is always accepted.  Note
 | 
					  is 16, a leading \samp{0x} or \samp{0X} is always accepted, though
 | 
				
			||||||
  that when invoked without \var{base} or with \var{base} set to 10,
 | 
					  not required.  This behaves identically to the built-in function
 | 
				
			||||||
  this behaves identical to the built-in function \function{int()}
 | 
					  \function{int()} when passed a string.  (Also note: for a more
 | 
				
			||||||
  when passed a string.  (Also note: for a more flexible
 | 
					  flexible interpretation of numeric literals, use the built-in
 | 
				
			||||||
  interpretation of numeric literals, use the built-in function
 | 
					  function \function{eval()}\bifuncindex{eval}.)
 | 
				
			||||||
  \function{eval()}\bifuncindex{eval}.)
 | 
					 | 
				
			||||||
\end{funcdesc}
 | 
					\end{funcdesc}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
\begin{funcdesc}{atol}{s\optional{, base}}
 | 
					\begin{funcdesc}{atol}{s\optional{, base}}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -166,8 +166,8 @@ now just as good).
 | 
				
			||||||
\end{description}
 | 
					\end{description}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The following modules are obsolete, but are likely re-surface as tools
 | 
					The following modules are obsolete, but are likely to re-surface as
 | 
				
			||||||
or scripts.
 | 
					tools or scripts:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
\begin{description}
 | 
					\begin{description}
 | 
				
			||||||
\item[\module{find}]
 | 
					\item[\module{find}]
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue