diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2000-04-07 09:08:37 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-04-07 09:08:37 (GMT) |
commit | e31d3d66aa47253411c7059a6b0263f513266ecc (patch) | |
tree | b969917aa60810e22a663200fcbcd68f7050fb74 /Mac | |
parent | a396a883aff2b218680f04a7f17db91bc940e94e (diff) | |
download | cpython-e31d3d66aa47253411c7059a6b0263f513266ecc.zip cpython-e31d3d66aa47253411c7059a6b0263f513266ecc.tar.gz cpython-e31d3d66aa47253411c7059a6b0263f513266ecc.tar.bz2 |
Return a handle in stead of a resource.
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/Lib/macfsn.py | 2 |
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) |