You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dateparser: Remove redundant import of _typeshed.Self
It doesn't exist at runtime:
```python
>>> import dateparser.date
>>> dateparser.date.Self
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'dateparser.date' has no attribute 'Self'
```
...and it's not used in the stub either.
I'm not sure why stubtest didn't pick it up. My stubtest patch over at python/mypy#12214 _does_ pick it up (and I'm not sure why that is, either... but it's a true positive!)
0 commit comments