Skip to content

Commit e055051

Browse files
authored
fix DateTimeType docstring typo
tz=False requires a timezone-naive value, not a timezone-aware value
1 parent a9ed8f1 commit e055051

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/msgspec/inspect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ class DateTimeType(Type):
251251
tz: bool
252252
The timezone-requirements for an instance of this type. ``True``
253253
indicates a timezone-aware value is required, ``False`` indicates a
254-
timezone-aware value is required. The default is ``None``, which
254+
timezone-naive value is required. The default is ``None``, which
255255
accepts either timezone-aware or timezone-naive values.
256256
"""
257257

0 commit comments

Comments
 (0)