pandas: Incorrect return type for pandas.Timestamp.normalize()
#779
Labels
fixed in next version (main)
A fix has been implemented and will appear in an upcoming version
typestub
Issue relating to our bundled type stubs
Environment
Expected behavior
Recognize that
pandas.Timestamp.normalize()
returns an instance ofpandas.Timestamp
:Actual behavior
Pylance incorrectly says
pandas.Timestamp.normalize()
returnsNone
:Code Snippet
Should not return errors:
Please let me know how I can improve this bug report because many more will follow (all for typeshed issues). Is this the best repo for such bug reports? (I am following the precedent of Pandas type issues in the release notes.)
The text was updated successfully, but these errors were encountered: