Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/scanny/python-pptx
/ __getitem__
Method
__getitem__
src/pptx/dml/fill.py:363–364 ·
view source on GitHub ↗
(self, idx)
Source
from the content-addressed store, hash-verified
361
self._gsLst = gsLst
362
363
def
__getitem__(self, idx):
364
return
_GradientStop(self._gsLst[idx])
365
366
def
__len__(self):
367
return
len(self._gsLst)
Callers
nothing calls this directly
Calls
1
_GradientStop
Class · 0.85
Tested by
no test coverage detected