1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00

use !r formatting instead of quotes

This commit is contained in:
Kelly Brazil
2022-02-07 08:06:48 -08:00
parent 8611aff06b
commit f331f53a53
2 changed files with 2 additions and 1 deletions

View File

@ -258,7 +258,7 @@ class timestamp:
self.utc = dt['timestamp_utc']
def __repr__(self):
return f'timestamp(string="{self.string}", format={self.format}, naive={self.naive}, utc={self.utc})'
return f'timestamp(string={self.string!r}, format={self.format}, naive={self.naive}, utc={self.utc})'
def _parse(self):
"""