mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	The MacOS module may be available on Mac OS X, but it doesn't have a SchedParams() method, and there's no need to call it anyway.
This commit is contained in:
		
							parent
							
								
									83b120d690
								
							
						
					
					
						commit
						0eb936b47d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1478,7 +1478,7 @@ def __init__(self, screenName=None, baseName=None, className='Tk'): | ||||||
|             if ext not in ('.py', '.pyc', '.pyo'): |             if ext not in ('.py', '.pyc', '.pyo'): | ||||||
|                 baseName = baseName + ext |                 baseName = baseName + ext | ||||||
|         self.tk = _tkinter.create(screenName, baseName, className) |         self.tk = _tkinter.create(screenName, baseName, className) | ||||||
|         if _MacOS: |         if _MacOS and hasattr(MacOS, 'SchedParams'): | ||||||
|             # Disable event scanning except for Command-Period |             # Disable event scanning except for Command-Period | ||||||
|             _MacOS.SchedParams(1, 0) |             _MacOS.SchedParams(1, 0) | ||||||
|             # Work around nasty MacTk bug |             # Work around nasty MacTk bug | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue