Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/scanny/python-pptx
/ __new__
Method
__new__
src/pptx/util.py:100–102 ·
view source on GitHub ↗
(cls, points: float)
Source
from the content-addressed store, hash-verified
98
""
"Convenience value class for specifying a length in points."
""
99
100
def
__new__(cls, points: float):
101
emu = int(points * Length._EMUS_PER_PT)
102
return
Length.__new__(cls, emu)
103
104
105
_T = TypeVar(
"_T"
)
Callers
nothing calls this directly
Calls
1
__new__
Method · 0.45
Tested by
no test coverage detected