From f7380b8bb0d1874703357cf772dc263c5d24eb6f Mon Sep 17 00:00:00 2001 From: Laurens Valk Date: Mon, 28 Nov 2022 15:03:13 +0100 Subject: [PATCH] ubuiltins: Remove set. This is not enabled. --- src/ubuiltins/__init__.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/ubuiltins/__init__.py b/src/ubuiltins/__init__.py index 8735528..327f098 100644 --- a/src/ubuiltins/__init__.py +++ b/src/ubuiltins/__init__.py @@ -970,21 +970,6 @@ def round(*args): """ -class set: - @overload - def __init__(self) -> None: - ... - - @overload - def __init__(self, iterable: Iterable) -> None: - ... - - def __init__(self, *args) -> None: - """ - Returns a new set object, optionally with elements taken from ``iterable``. - """ - - def setattr(object: Any, name: _str, value: Any) -> None: """ Assigns the value to the attribute, provided the object allows it.