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:2701–2705 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2699
2700
2701
def
get_python_version() -> str:
2702
try
:
2703
return
platform.python_version()
2704
except
Exception:
2705
return
"unknown"
2706
2707
2708
def
get_architecture() -> Arch:
Callers
1
platform_headers
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected