mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Remove apply()
This commit is contained in:
		
							parent
							
								
									fe55464f39
								
							
						
					
					
						commit
						d91085598f
					
				
					 56 changed files with 179 additions and 285 deletions
				
			
		|  | @ -22,7 +22,7 @@ class EditableManPage(ScrolledText): | |||
|     # Initialize instance | ||||
|     def __init__(self, master=None, **cnf): | ||||
|         # Initialize base class | ||||
|         apply(ScrolledText.__init__, (self, master), cnf) | ||||
|         ScrolledText.__init__(self, master, **cnf) | ||||
| 
 | ||||
|         # Define tags for formatting styles | ||||
|         self.tag_config('X', underline=1) | ||||
|  | @ -178,7 +178,7 @@ class ReadonlyManPage(EditableManPage): | |||
|     # Initialize instance | ||||
|     def __init__(self, master=None, **cnf): | ||||
|         cnf['state'] = DISABLED | ||||
|         apply(EditableManPage.__init__, (self, master), cnf) | ||||
|         EditableManPage.__init__(self, master, **cnf) | ||||
| 
 | ||||
| # Alias | ||||
| ManPage = ReadonlyManPage | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Neal Norwitz
						Neal Norwitz