Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Taking the latest of all. #120

Merged
merged 10 commits into from
Aug 13, 2024
Prev Previous commit
Next Next commit
Fix for flake8.
  • Loading branch information
haz committed Aug 13, 2024
commit 365756f52da9b3be85157e8add8e407628cf1c80
2 changes: 1 addition & 1 deletion pddl/helpers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class RegexConstrainedString(str):

def __new__(cls, value, *args, **kwargs):
"""Instantiate a new object."""
if type(value) == cls:
if type(value) is cls:
return value
else:
inst = super(RegexConstrainedString, cls).__new__(cls, value)
Expand Down
Loading