Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pex-tool/pex
/ hashbang
Method
hashbang
pex/interpreter.py:641–645 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
639
)
640
641
def
hashbang(self):
642
# type: () -> str
643
return
"#!/usr/bin/env {}"
.format(
644
self.binary_name(version_components=0
if
self.is_pypy and self.version[0] == 2
else
2)
645
)
646
647
@property
648
def
python(self):
Callers
2
__init__
Method · 0.80
test_derive_consistent_shebang_platforms
Function · 0.80
Calls
1
binary_name
Method · 0.95
Tested by
1
test_derive_consistent_shebang_platforms
Function · 0.64