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:2717–2721 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2715
2716
2717
def
get_python_version() -> str:
2718
try
:
2719
return
platform.python_version()
2720
except
Exception:
2721
return
"unknown"
2722
2723
2724
def
get_architecture() -> Arch:
Callers
1
platform_headers
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected