Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ get_python_version
Function
get_python_version
src/anthropic/_base_client.py:2509–2513 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2507
2508
2509
def
get_python_version() -> str:
2510
try
:
2511
return
platform.python_version()
2512
except
Exception:
2513
return
"unknown"
2514
2515
2516
def
get_architecture() -> Arch:
Callers
1
platform_headers
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected