Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MagicStack/asyncpg
/ platform_exe
Function
platform_exe
asyncpg/cluster.py:30–33 ·
view source on GitHub ↗
(name)
Source
from the content-addressed store, hash-verified
28
29
if
_system ==
'Windows'
:
30
def
platform_exe(name):
31
if
name.endswith(
'.exe'
):
32
return
name
33
return
name +
'.exe'
34
else
:
35
def
platform_exe(name):
36
return
name
Callers
2
_find_pg_config
Method · 0.85
_find_pg_binary
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected