mirror of
https://github.com/python/cpython.git
synced 2025-07-24 19:54:21 +00:00
Replaced OpenResFile calls with FSpOpenResFile calls (which are carbon-compatible).
This commit is contained in:
parent
3c0d013db4
commit
d13c385462
14 changed files with 21 additions and 21 deletions
|
@ -85,7 +85,7 @@ def main():
|
|||
curdir = os.getcwd()
|
||||
import Res
|
||||
try:
|
||||
Res.OpenResFile('RunLibScript.rsrc')
|
||||
Res.FSpOpenResFile('RunLibScript.rsrc', 1)
|
||||
except:
|
||||
pass # Assume we're an applet already
|
||||
name, argv, stdin, stdout, wdir, pause = interact()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue