Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/sqlalchemy/sqlalchemy
/ _no_negative_indexes
Function
_no_negative_indexes
lib/sqlalchemy/orm/util.py:2189–2193 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2187
""
"
2188
2189
def
_no_negative_indexes():
2190
raise
IndexError(
2191
"negative indexes are not accepted by SQL "
2192
"index / slice operators"
2193
)
2194
2195
if
isinstance(item, slice):
2196
start, stop, step = util.decode_slice(item)
Callers
1
_getitem
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected