mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-11 17:14:41 +00:00
ubuiltins: Remove set. This is not enabled.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user