You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This if statement can be removed when we no longer support 3.8.ifisinstance(slice, ast.Index):
slice=slice.value# type: ignoreifnotisinstance(slice, ast.Constant):
raiseValueError(
f"Slices must be indexable constants only - {ast.dump(slice)} is not ""valid."
)
index=slice.value
The text was updated successfully, but these errors were encountered:
This code can probably now be removed:
The text was updated successfully, but these errors were encountered: