mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	Correct typo in walk.__doc__ reported by Francois Pinard.
This commit is contained in:
		
							parent
							
								
									5a2ca9328d
								
							
						
					
					
						commit
						f618a48d11
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -255,7 +255,7 @@ def ismount(path):
 | 
				
			||||||
def walk(top, func, arg):
 | 
					def walk(top, func, arg):
 | 
				
			||||||
    """Directory tree walk whth callback function.
 | 
					    """Directory tree walk whth callback function.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    walk(top, func, args) calls func(arg, d, files) for each directory d 
 | 
					    walk(top, func, arg) calls func(arg, d, files) for each directory d 
 | 
				
			||||||
    in the tree rooted at top (including top itself); files is a list
 | 
					    in the tree rooted at top (including top itself); files is a list
 | 
				
			||||||
    of all the files and subdirs in directory d."""
 | 
					    of all the files and subdirs in directory d."""
 | 
				
			||||||
    try:
 | 
					    try:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -254,7 +254,7 @@ def ismount(path):
 | 
				
			||||||
# or to impose a different order of visiting.
 | 
					# or to impose a different order of visiting.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def walk(top, func, arg):
 | 
					def walk(top, func, arg):
 | 
				
			||||||
    """walk(top,func,args) calls func(arg, d, files) for each directory "d" 
 | 
					    """walk(top,func,arg) calls func(arg, d, files) for each directory "d" 
 | 
				
			||||||
in the tree  rooted at "top" (including "top" itself).  "files" is a list
 | 
					in the tree  rooted at "top" (including "top" itself).  "files" is a list
 | 
				
			||||||
of all the files and subdirs in directory "d".
 | 
					of all the files and subdirs in directory "d".
 | 
				
			||||||
"""
 | 
					"""
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue