importlib: SimplePath: __div__ -> __truediv__ on 3.10 (#8451)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Nikita Sobolev
2022-08-02 09:15:46 +03:00
committed by GitHub
parent 402489b40a
commit 1bd1625c36
2 changed files with 6 additions and 5 deletions

View File

@@ -17,6 +17,8 @@ fractions.Fraction.__new__ # overload is too complicated for stubtest to resolv
gettext.install
gettext.translation
hmac.new # Stub is a white lie; see comments in the stub
importlib.metadata._meta.SimplePath.__div__ # See comments
importlib.metadata._meta.SimplePath.__truediv__ # See comments
ipaddress.IPv4Interface.hostmask
ipaddress.IPv6Interface.hostmask
ipaddress._BaseNetwork.broadcast_address