ovld 0.3.6__py3-none-any.whl → 0.3.7__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
ovld/core.py CHANGED
@@ -115,6 +115,8 @@ class MultiTypeMap(dict):
115
115
  def transform(self, obj):
116
116
  if isinstance(obj, GenericAlias):
117
117
  return type[obj.__origin__]
118
+ elif obj is typing.Any:
119
+ return type[object]
118
120
  elif isinstance(obj, type):
119
121
  return type[obj]
120
122
  else:
ovld/version.py CHANGED
@@ -1 +1 @@
1
- version = "0.3.6"
1
+ version = "0.3.7"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: ovld
3
- Version: 0.3.6
3
+ Version: 0.3.7
4
4
  Summary: Overloading Python functions
5
5
  Author-email: Olivier Breuleux <breuleux@gmail.com>
6
6
  License-Expression: MIT
@@ -0,0 +1,9 @@
1
+ ovld/__init__.py,sha256=Wa7MHfDw0_AV7jwSwepntCeXzZheELkb8paxVnjp58Q,85
2
+ ovld/core.py,sha256=B5j-k5SRPFd1l_zM6XkIK-jWN9FCtQVhtj4URI4oepQ,33210
3
+ ovld/mro.py,sha256=Dof3wj-BLcV-T-Jm9tK6zqptp_JGo5lxgyRq99AvY1k,5006
4
+ ovld/utils.py,sha256=8kINtHrWdC0bNVccxYIkHBaGFk_YFpjtnjAa9GyXNmA,3861
5
+ ovld/version.py,sha256=vQ5YERPWCl1LkgKK8gROTeKmhCPA_uiJJdf7RhPFNXA,18
6
+ ovld-0.3.7.dist-info/METADATA,sha256=dKi-I6cdJNB78-Gof7SnJXddWM4UJofVGJ2dEPpK6AA,9006
7
+ ovld-0.3.7.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
8
+ ovld-0.3.7.dist-info/licenses/LICENSE,sha256=cSwNTIzd1cbI89xt3PeZZYJP2y3j8Zus4bXgo4svpX8,1066
9
+ ovld-0.3.7.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- ovld/__init__.py,sha256=Wa7MHfDw0_AV7jwSwepntCeXzZheELkb8paxVnjp58Q,85
2
- ovld/core.py,sha256=CshFjuUcDtxhrFh2xFSDte8wNKTbu48xnQEmumKFEiI,33146
3
- ovld/mro.py,sha256=Dof3wj-BLcV-T-Jm9tK6zqptp_JGo5lxgyRq99AvY1k,5006
4
- ovld/utils.py,sha256=8kINtHrWdC0bNVccxYIkHBaGFk_YFpjtnjAa9GyXNmA,3861
5
- ovld/version.py,sha256=vIKhRZtxwtdVo0OiYyq3aaZwQ95yMgUWRjQesHZ8HME,18
6
- ovld-0.3.6.dist-info/METADATA,sha256=709EdUxLKka4oIiqZlp1vQCgWGFiUfRaIGK-4auZVcA,9006
7
- ovld-0.3.6.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
8
- ovld-0.3.6.dist-info/licenses/LICENSE,sha256=cSwNTIzd1cbI89xt3PeZZYJP2y3j8Zus4bXgo4svpX8,1066
9
- ovld-0.3.6.dist-info/RECORD,,
File without changes