Skip to content

Remove str() from call to print()

Sourcery refactoring id: remove-str-from-print

Description:

Removes unnecessary calls to str() from within print()

Before:

print(str(1))

After:

print(1)

Explanation:

Objects passed into calls to the print() function already have str() called on them, so it is not required to do so yourself.