mirror of https://github.com/python/cpython
Need to import * from types
This commit is contained in:
parent
fcce630a7d
commit
524e9a450b
|
@ -2,8 +2,7 @@
|
|||
|
||||
from Tkinter import Canvas
|
||||
|
||||
StringType = type('')
|
||||
DictionaryType = type({})
|
||||
from types import *
|
||||
|
||||
def _flatten(tuple):
|
||||
res = ()
|
||||
|
|
|
@ -2,8 +2,7 @@
|
|||
|
||||
from Tkinter import Canvas
|
||||
|
||||
StringType = type('')
|
||||
DictionaryType = type({})
|
||||
from types import *
|
||||
|
||||
def _flatten(tuple):
|
||||
res = ()
|
||||
|
|
Loading…
Reference in New Issue