pprint: Remove conversion to int, we only accept those

This commit is contained in:
Benjamin Schubert 2023-12-03 13:50:44 +00:00
parent 64b5b665cf
commit 283a746dad
1 changed files with 0 additions and 2 deletions

View File

@ -78,8 +78,6 @@ class PrettyPrinter:
The maximum depth to print out nested structures.
"""
indent = int(indent)
width = int(width)
if indent < 0:
raise ValueError("indent must be >= 0")
if depth is not None and depth <= 0: