mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Issue #20662: Argspec now is escaped in html output of pydoc.
This commit is contained in:
		
							parent
							
								
									030e92d1a5
								
							
						
					
					
						commit
						66dd4aaa96
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -956,7 +956,7 @@ def docroutine(self, object, name=None, mod=None, | |||
|         if not argspec: | ||||
|             argspec = '(...)' | ||||
| 
 | ||||
|         decl = title + argspec + (note and self.grey( | ||||
|         decl = title + self.escape(argspec) + (note and self.grey( | ||||
|                '<font face="helvetica, arial">%s</font>' % note)) | ||||
| 
 | ||||
|         if skipdocs: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Serhiy Storchaka
						Serhiy Storchaka