Skip to content

Commit

Permalink
Update timedeltas.pyx
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaharNaveh authored Nov 21, 2019
1 parent d1b17a4 commit b0e4445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/_libs/tslibs/timedeltas.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ cdef class _Timedelta(timedelta):
return fmt.format(**comp_dict)

def __repr__(self) -> str:
return f"Timedelta('{self._repr_base(format='long')}"
return f"Timedelta('{self._repr_base(format='long')}')"

def __str__(self) -> str:
return self._repr_base(format='long')
Expand Down

0 comments on commit b0e4445

Please sign in to comment.