Skip to content

Commit

Permalink
fix typo DateType -> DateTimeType, fixes PyO3#3069
Browse files Browse the repository at this point in the history
  • Loading branch information
sollyucko authored Mar 27, 2023
1 parent ebedcfb commit fc9a726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/datetime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ pub struct PyDateTime(PyAny);
pyobject_native_type!(
PyDateTime,
crate::ffi::PyDateTime_DateTime,
*ensure_datetime_api(Python::assume_gil_acquired()).DateType,
*ensure_datetime_api(Python::assume_gil_acquired()).DateTimeType,
#module=Some("datetime"),
#checkfunction=PyDateTime_Check
);
Expand Down

0 comments on commit fc9a726

Please sign in to comment.