Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Lib/turtledemo/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def __init__(self, filename=None):
import subprocess
# Make sure we are the currently activated OS X application
# so that our menu bar appears.
p = subprocess.Popen(
subprocess.run(
[
'osascript',
'-e', 'tell application "System Events"',
Expand Down
2 changes: 1 addition & 1 deletion Tools/scripts/treesync.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
write_master = "ask"

def main():
global always_no, always_yes
global default_answer, always_no, always_yes, create_files
global create_directories, write_master, write_slave
opts, args = getopt.getopt(sys.argv[1:], "nym:s:d:f:a:")
for o, a in opts:
Expand Down