Mercurial > cpython-lru_cache-weakref
diff Mac/scripts/EditPythonPrefs.py @ 12972:fc77e34ef274 legacy-trunk
Replaced OpenResFile calls with FSpOpenResFile calls (which are carbon-compatible).
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Tue, 20 Jun 2000 21:59:25 +0000 |
| parents | a6c8413b3c4f |
| children | c5ec0b11f8c9 |
line wrap: on
line diff
--- a/Mac/scripts/EditPythonPrefs.py Tue Jun 20 19:13:27 2000 +0000 +++ b/Mac/scripts/EditPythonPrefs.py Tue Jun 20 21:59:25 2000 +0000 @@ -170,7 +170,7 @@ 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
