summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@protonmail.com>2022-07-28 23:04:26 (GMT)
committerGitHub <noreply@github.com>2022-07-28 23:04:26 (GMT)
commit06fc249135e5b98a74fc0213e157e80412354659 (patch)
treeb3d9b36bc9a8e4bb5e1a9dc0a89aee8345122066 /Mac
parentedb72047f35d6da48c59bcfe0c655939a88ea0a6 (diff)
downloadcpython-06fc249135e5b98a74fc0213e157e80412354659.zip
cpython-06fc249135e5b98a74fc0213e157e80412354659.tar.gz
cpython-06fc249135e5b98a74fc0213e157e80412354659.tar.bz2
gh-89610: Add .pyi as a recognised extension for IDLE on macOS (#95393)
This allows opening stub files by double clicking on them in the Finder. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Mac')
-rw-r--r--Mac/IDLE/IDLE.app/Contents/Info.plist1
1 files changed, 1 insertions, 0 deletions
diff --git a/Mac/IDLE/IDLE.app/Contents/Info.plist b/Mac/IDLE/IDLE.app/Contents/Info.plist
index d197c77..799a164 100644
--- a/Mac/IDLE/IDLE.app/Contents/Info.plist
+++ b/Mac/IDLE/IDLE.app/Contents/Info.plist
@@ -10,6 +10,7 @@
<key>CFBundleTypeExtensions</key>
<array>
<string>py</string>
+ <string>pyi</string>
<string>pyw</string>
</array>
<key>CFBundleTypeIconFile</key>