mirror of
https://github.com/python/cpython.git
synced 2025-07-24 19:54:21 +00:00
Return a handle in stead of a resource.
This commit is contained in:
parent
a396a883af
commit
e31d3d66aa
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ def _mktypelist(typelist):
|
||||||
data = 'Pyth' + struct.pack("hh", 0, len(typelist))
|
data = 'Pyth' + struct.pack("hh", 0, len(typelist))
|
||||||
for type in typelist:
|
for type in typelist:
|
||||||
data = data+type
|
data = data+type
|
||||||
return Res.Resource(data)
|
return Res.Handle(data)
|
||||||
|
|
||||||
def _StandardGetFile(*typelist):
|
def _StandardGetFile(*typelist):
|
||||||
return apply(_PromptGetFile, (None,)+typelist)
|
return apply(_PromptGetFile, (None,)+typelist)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue