MCPcopy
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

Calls 1

binary_nameMethod · 0.95

Tested by 1