mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +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
|
@ -170,7 +170,7 @@ def edit_applet(name):
|
|||
|
||||
def main():
|
||||
try:
|
||||
h = OpenResFile('EditPythonPrefs.rsrc')
|
||||
h = FSpOpenResFile('EditPythonPrefs.rsrc', 1)
|
||||
except Res.Error:
|
||||
pass # Assume we already have acces to our own resource
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue