Skip to content

Commit fef17b3

Browse files
authored
instantiation: correct the type of pendulum.instance (#443)
`pendulum.instance` receives a `datetime.datetime` instance, not a `pendulum.DateTime`.
1 parent 9999838 commit fef17b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/instantiation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ and will set the timezone as well or default it to `UTC`.
133133
'1970-01-01T00:59:59+01:00'
134134
```
135135

136-
Finally, if you find yourself inheriting a `DateTime` instance,
136+
Finally, if you find yourself inheriting a `datetime.datetime` instance,
137137
you can create a `DateTime` instance via the `instance()` function.
138138

139139
```python

0 commit comments

Comments
 (0)