Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d466946

Browse filesBrowse files
committed
modernize to f-string
1 parent 78acd77 commit d466946
Copy full SHA for d466946

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed

‎winpython/register_python.py

Copy file name to clipboardExpand all lines: winpython/register_python.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@
2323
if utils.is_python_distribution(args.target):
2424
associate.register(args.target, current=not args.all)
2525
else:
26-
raise WindowsError("Invalid Python distribution %s" % args.target)
26+
raise WindowsError(f"Invalid Python distribution {args.target}")

‎winpython/unregister_python.py

Copy file name to clipboardExpand all lines: winpython/unregister_python.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@
2323
if utils.is_python_distribution(args.target):
2424
associate.unregister(args.target, current=not args.all)
2525
else:
26-
raise WindowsError("Invalid Python distribution %s" % args.target)
26+
raise WindowsError(f"Invalid Python distribution {args.target}")

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.