Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/scanny/python-pptx
/ __getitem__
Method
__getitem__
src/pptx/chart/point.py:23–26 ·
view source on GitHub ↗
(self, idx)
Source
from the content-addressed store, hash-verified
21
self._ser = ser
22
23
def
__getitem__(self, idx):
24
if
idx < 0 or idx >= self.__len__():
25
raise
IndexError(
"point index out of range"
)
26
return
Point(self._ser, idx)
27
28
29
class
BubblePoints(_BasePoints):
Callers
nothing calls this directly
Calls
2
Point
Class · 0.85
__len__
Method · 0.45
Tested by
no test coverage detected