MCPcopy Create free account
hub / github.com/twisted/twisted / getType

Method getType

src/twisted/python/runtime.py:59–65  ·  view source on GitHub ↗

Get platform type. @return: Either 'posix', 'win32' or 'java'

(self)

Source from the content-addressed store, hash-verified

57 return self.type != None
58
59 def getType(self) -> str | None:
60 """
61 Get platform type.
62
63 @return: Either 'posix', 'win32' or 'java'
64 """
65 return self.type
66
67 def isMacOSX(self) -> bool:
68 """

Callers 12

isWindowsMethod · 0.95
test_isWinNTMethod · 0.95
runtime.pyFile · 0.80
test_getTypeMethod · 0.80
createResolverFunction · 0.80
_checkMethod · 0.80
wrapperFunction · 0.80
gtk2reactor.pyFile · 0.80
installFunction · 0.80
_getInstallFunctionFunction · 0.80

Calls

no outgoing calls

Tested by 6

test_isWinNTMethod · 0.76
test_getTypeMethod · 0.64
_checkMethod · 0.64
wrapperFunction · 0.64