mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 03:44:55 +00:00 
			
		
		
		
	ConfigParser.items() and SafeConfigParser.items() no longer return a
generator. See SF bug #818861.
This commit is contained in:
		
							parent
							
								
									8c4da53afe
								
							
						
					
					
						commit
						86c60ed198
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -279,8 +279,8 @@ on the defaults passed into the constructor, as well as the options
 | 
			
		|||
\end{methoddesc}
 | 
			
		||||
 | 
			
		||||
\begin{methoddesc}{items}{section\optional{, raw\optional{, vars}}}
 | 
			
		||||
Create a generator which will return a tuple \code{(name, value)} for
 | 
			
		||||
each option in the given \var{section}. Optional arguments have the
 | 
			
		||||
same meaning as for the \code{get()} method.
 | 
			
		||||
Return a list of \code{(\var{name}, \var{value})} pairs for each
 | 
			
		||||
option in the given \var{section}. Optional arguments have the
 | 
			
		||||
same meaning as for the \method{get()} method.
 | 
			
		||||
\versionadded{2.3}
 | 
			
		||||
\end{methoddesc}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue