Skip to content

Commit

Permalink
Use __bool__ instead of __nonzero__
Browse files Browse the repository at this point in the history
  • Loading branch information
bswck authored and jaraco committed Mar 28, 2024
1 parent 3886382 commit bcb2981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jaraco/develop/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def get_include_dirs():


class FalseString(str):
def __nonzero__(self):
def __bool__(self):
return False


Expand Down

0 comments on commit bcb2981

Please sign in to comment.