Skip to content

Commit 687d453

Browse files
srittauAlexWaygood
andauthored
Remove merge artifact
Co-authored-by: Alex Waygood <[email protected]>
1 parent 14f72d5 commit 687d453

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/typing_extensions.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -884,19 +884,6 @@ def write(self, data: T_contra, /) -> int:
884884
"""Write data to the output stream and return the number of items written."""
885885

886886

887-
def _ensure_subclassable(mro_entries):
888-
def inner(func):
889-
if sys.implementation.name == "pypy" and sys.version_info < (3, 9):
890-
cls_dict = {
891-
"__call__": staticmethod(func),
892-
"__mro_entries__": staticmethod(mro_entries)
893-
}
894-
t = type(func.__name__, (), cls_dict)
895-
return functools.update_wrapper(t(), func)
896-
else:
897-
func.__mro_entries__ = mro_entries
898-
return func
899-
return inner
900887

901888

902889
_NEEDS_SINGLETONMETA = (

0 commit comments

Comments
 (0)