summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-04-07 09:08:37 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-04-07 09:08:37 (GMT)
commite31d3d66aa47253411c7059a6b0263f513266ecc (patch)
treeb969917aa60810e22a663200fcbcd68f7050fb74
parenta396a883aff2b218680f04a7f17db91bc940e94e (diff)
downloadcpython-e31d3d66aa47253411c7059a6b0263f513266ecc.zip
cpython-e31d3d66aa47253411c7059a6b0263f513266ecc.tar.gz
cpython-e31d3d66aa47253411c7059a6b0263f513266ecc.tar.bz2
Return a handle in stead of a resource.
-rw-r--r--Mac/Lib/macfsn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Lib/macfsn.py b/Mac/Lib/macfsn.py
index c78459d..f7b6b2e 100644
--- a/Mac/Lib/macfsn.py
+++ b/Mac/Lib/macfsn.py
@@ -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)