Need to import * from types

This commit is contained in:
Guido van Rossum 1996-08-08 18:31:11 +00:00
parent fcce630a7d
commit 524e9a450b
2 changed files with 2 additions and 4 deletions

View File

@ -2,8 +2,7 @@
from Tkinter import Canvas
StringType = type('')
DictionaryType = type({})
from types import *
def _flatten(tuple):
res = ()

View File

@ -2,8 +2,7 @@
from Tkinter import Canvas
StringType = type('')
DictionaryType = type({})
from types import *
def _flatten(tuple):
res = ()