Skip to content

Commit e19e245

Browse files
authored
Merge pull request #80 from rettinghaus/fix/py2
fix: remove Python2 leftofers
2 parents 95ebb72 + 4a03a68 commit e19e245

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ UncertainOrApproximate: '1979-08~'
2626

2727
# normalised string representation (some different EDTF strings have identical meanings)
2828
>>>
29-
>>> unicode(e)
30-
u'1979-08~'
29+
>>> str(e)
30+
'1979-08~'
3131

3232
# Derive Python date objects
3333

@@ -446,7 +446,7 @@ False
446446
447447
### Comparisons
448448

449-
Two EDTF dates are considered equal if their `unicode()` representations are the same. An EDTF date is considered greater than another if its `lower_strict` value is later.
449+
Two EDTF dates are considered equal if their `str()` representations are the same. An EDTF date is considered greater than another if its `lower_strict` value is later.
450450

451451
## Django ORM field
452452

0 commit comments

Comments
 (0)