Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ken-morel committed May 2, 2024
1 parent dc26db4 commit 00f6fd7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/py_overload/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,28 @@ class AnnotationError(ValueError):
pass



class AnnotationErrors(AnnotationError):
pass



class InternalAnnotationError(Exception):
pass



class CastingError(TypeError):
pass



class OverloadError(TypeError):
pass



class AnnotationResolutionError(AnnotationError):
_raise = False


class Values(tuple):
'wrapper class in case of several value'
"wrapper class in case of several value"

def __call__(self, val):
return val in self
Expand Down

0 comments on commit 00f6fd7

Please sign in to comment.