Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
wyfo committed Mar 30, 2022
1 parent bcbb7a9 commit 81730cf
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions apischema/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,16 +99,6 @@ def get_args(tp):
else:
from typing import _type_vars as _collect_type_vars

try:
from typing import _strip_annotations # type: ignore
except ImportError:
try:
from typing_extensions import _strip_annotations # type: ignore
except ImportError:

def _strip_annotations(t):
return t


def _generic_mro(result, tp):
origin = get_origin(tp)
Expand Down

0 comments on commit 81730cf

Please sign in to comment.