Skip to content

Commit 8b30880

Browse files
committed
Cleanup and fix typos
1 parent beb9d9c commit 8b30880

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ earliest and latest possible dates for comparison purposes so you can
121121
sort dates and compare with equals, greater than, and less than. You
122122
can also compare with python `datetime.date` objects.
123123

124-
```Python console
124+
```python
125125
>>> november7_2020 = Undate(2020, 11, 7)
126126
>>> november_2001 = Undate(2001, 11)
127127
>>> year2k = Undate(2000)
@@ -193,7 +193,7 @@ undate.Undate(year=2002, month=5, calendar="Gregorian")
193193
undate.Undate(month=5, day=3, calendar="Gregorian")
194194
>>> Undate.parse("--05-03", "ISO8601").format("EDTF")
195195
'XXXX-05-03'
196-
>>> Undate.parse("1800/1900", format="EDTF")
196+
>>> Undate.parse("1800/1900", format="EDTF")
197197
undate.UndateInterval(earliest=undate.Undate(year=1800, calendar="Gregorian"), latest=undate.Undate(year=1900, calendar="Gregorian"))
198198
```
199199

@@ -233,8 +233,8 @@ undate.Undate(year=2001, calendar="Gregorian")
233233
---
234234

235235
For more examples, refer to the code notebooks included in the
236-
[examples](https://github.com/dh-tech/undate-python/tree/main/examples/) in this
237-
repository.
236+
[examples](https://github.com/dh-tech/undate-python/tree/main/examples/)
237+
directory in this repository.
238238

239239
## Documentation
240240

tests/test_date.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def test_repr(self):
238238
feb_undelt = UnDelta(28, 29)
239239
assert repr(feb_undelt) == "undate.UnDelta(28,29)"
240240
# can't compare directly because uncertain deltas aren't equal,
241-
# but compare vlaues
241+
# but compare values
242242
assert eval(repr(feb_undelt.days.lower)) == feb_undelt.days.lower
243243
assert eval(repr(feb_undelt.days.upper)) == feb_undelt.days.upper
244244

0 commit comments

Comments
 (0)