Skip to content

Commit 4a0f9de

Browse files
fix: silence SyntaxWarning in py39
/mprof.py:77: SyntaxWarning: "is" with a literal. Did you mean "=="?
1 parent 04fc1a7 commit 4a0f9de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mprof.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def get_profile_filenames(args):
7474
profiles = glob.glob("mprofile_??????????????.dat")
7575
profiles.sort()
7676

77-
if args is "all":
77+
if args == "all":
7878
filenames = copy.copy(profiles)
7979
else:
8080
filenames = []

0 commit comments

Comments
 (0)