mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 19:34:08 +00:00 
			
		
		
		
	Merged revisions 79518 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r79518 | brian.curtin | 2010-03-30 22:10:21 -0500 (Tue, 30 Mar 2010) | 2 lines Fix #8225. xml.etree was displaying an incorrect link when viewed in help. ........
This commit is contained in:
		
							parent
							
								
									d6995eb582
								
							
						
					
					
						commit
						49c284c174
					
				
					 2 changed files with 8 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -349,7 +349,8 @@ class Doc:
 | 
			
		|||
                                 'marshal', 'posix', 'signal', 'sys',
 | 
			
		||||
                                 '_thread', 'zipimport') or
 | 
			
		||||
             (file.startswith(basedir) and
 | 
			
		||||
              not file.startswith(os.path.join(basedir, 'site-packages'))))):
 | 
			
		||||
              not file.startswith(os.path.join(basedir, 'site-packages')))) and
 | 
			
		||||
            object.__name__ not in ('xml.etree')):
 | 
			
		||||
            if docloc.startswith("http://"):
 | 
			
		||||
                docloc = "%s/%s" % (docloc.rstrip("/"), object.__name__)
 | 
			
		||||
            else:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue