mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 03:44:55 +00:00 
			
		
		
		
	Change the markup a bit more; the parameter was not marked as \var in the
sample code, and the note was marked as a logical thing.
This commit is contained in:
		
							parent
							
								
									019934b3cc
								
							
						
					
					
						commit
						95fa4ddf7b
					
				
					 1 changed files with 8 additions and 4 deletions
				
			
		| 
						 | 
					@ -215,8 +215,12 @@ avoid visiting certain parts of the tree.  (The object referred to by
 | 
				
			||||||
\var{names} must be modified in place, using \keyword{del} or slice
 | 
					\var{names} must be modified in place, using \keyword{del} or slice
 | 
				
			||||||
assignment.)
 | 
					assignment.)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Note that symbolic links to directories are not treated as subdirectories,
 | 
					\begin{notice}
 | 
				
			||||||
and that \function{walk} therefore will not visit them. To visit linked
 | 
					Symbolic links to directories are not treated as subdirectories, and
 | 
				
			||||||
directories you must identify them with \code{os.path.islink(file)} and
 | 
					that \function{walk()} therefore will not visit them. To visit linked
 | 
				
			||||||
\code{os.path.isdir(file)}, and invoke \function{walk()} as necessary.
 | 
					directories you must identify them with
 | 
				
			||||||
 | 
					\code{os.path.islink(\var{file})} and
 | 
				
			||||||
 | 
					\code{os.path.isdir(\var{file})}, and invoke \function{walk()} as
 | 
				
			||||||
 | 
					necessary.
 | 
				
			||||||
 | 
					\end{notice}
 | 
				
			||||||
\end{funcdesc}
 | 
					\end{funcdesc}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue