mirror of https://github.com/python/cpython.git
Return a handle in stead of a resource.
This commit is contained in:
parent
a396a883af
commit
e31d3d66aa
|
@ -17,7 +17,7 @@ def _mktypelist(typelist):
|
|||
data = 'Pyth' + struct.pack("hh", 0, len(typelist))
|
||||
for type in typelist:
|
||||
data = data+type
|
||||
return Res.Resource(data)
|
||||
return Res.Handle(data)
|
||||
|
||||
def _StandardGetFile(*typelist):
|
||||
return apply(_PromptGetFile, (None,)+typelist)
|
||||
|
|
Loading…
Reference in New Issue