mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	fix some imports
This commit is contained in:
		
							parent
							
								
									92634d6b34
								
							
						
					
					
						commit
						903a65d7f1
					
				
					 3 changed files with 5 additions and 5 deletions
				
			
		|  | @ -33,12 +33,12 @@ | |||
| except ImportError: | ||||
|     gdbm = None | ||||
| try: | ||||
|     import dbm as anydbm | ||||
|     import dbm.ndbm as anydbm | ||||
| except ImportError: | ||||
|     anydbm = None | ||||
| import sys | ||||
| try: | ||||
|     import cPickle as pickle | ||||
|     import pickle as pickle | ||||
| except ImportError: | ||||
|     import pickle | ||||
| 
 | ||||
|  |  | |||
|  | @ -38,12 +38,12 @@ | |||
| except ImportError: | ||||
|     gdbm = None | ||||
| try: | ||||
|     import dbm as anydbm | ||||
|     import dbm.ndbm as anydbm | ||||
| except ImportError: | ||||
|     anydbm = None | ||||
| import sys | ||||
| try: | ||||
|     import cPickle as pickle | ||||
|     import pickle as pickle | ||||
| except ImportError: | ||||
|     import pickle | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| """Basic regular expression demostration facility (Perl style syntax).""" | ||||
| 
 | ||||
| from Tkinter import * | ||||
| from tkinter import * | ||||
| import re | ||||
| 
 | ||||
| class ReDemo: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Benjamin Peterson
						Benjamin Peterson