Initial support for in-place looping

This commit is contained in:
VykosX
2024-09-17 10:39:33 -03:00
parent f5994b9c56
commit f27e95f4e5
9 changed files with 1186 additions and 735 deletions
+16 -2
View File
@@ -1,4 +1,18 @@
class AnyType(str):
def __ne__(self, __value: object) -> bool:
return False
def __ne__(self, __value: object) -> bool:
return False
"""
class TautologyStr(str):
def __ne__(self, other):
return False
class ByPassTypeTuple(tuple):
def __getitem__(self, index):
if index>0:
index=0
item = super().__getitem__(index)
if isinstance(item, str):
return TautologyStr(item)
return item
"""