proxygen
|
Public Member Functions | |
def | __new__ (cls, s) |
def | __str__ (self) |
def | __repr__ (self) |
def | format (self, kwargs) |
def | __new__ (cls, s) |
def | __str__ (self) |
def | __repr__ (self) |
def | format (self, kwargs) |
def | __new__ (cls, s) |
def | __str__ (self) |
def | __repr__ (self) |
def | format (self, kwargs) |
def | __new__ (cls, s) |
def | __str__ (self) |
def | __repr__ (self) |
def | format (self, kwargs) |
Wrap a string with this to make it transparent to shell_quote(). It will almost always suffice to use ShellQuoted.format(), path_join(), or shell_join(). If you really must, use raw_shell() to access the raw string.
Definition at line 26 of file shell_quoting.py.
def shell_quoting.ShellQuoted.__new__ | ( | cls, | |
s | |||
) |
def shell_quoting.ShellQuoted.__new__ | ( | cls, | |
s | |||
) |
def shell_quoting.ShellQuoted.__new__ | ( | cls, | |
s | |||
) |
def shell_quoting.ShellQuoted.__new__ | ( | cls, | |
s | |||
) |
def shell_quoting.ShellQuoted.__repr__ | ( | self | ) |
Definition at line 49 of file shell_quoting.py.
References shell_quoting.ShellQuoted.__repr__(), and shell_quoting.ShellQuoted.format().
def shell_quoting.ShellQuoted.__repr__ | ( | self | ) |
Definition at line 49 of file shell_quoting.py.
References shell_quoting.ShellQuoted.__repr__(), and shell_quoting.ShellQuoted.format().
def shell_quoting.ShellQuoted.__repr__ | ( | self | ) |
Definition at line 49 of file shell_quoting.py.
References shell_quoting.ShellQuoted.format().
Referenced by shell_quoting.ShellQuoted.__repr__().
def shell_quoting.ShellQuoted.__repr__ | ( | self | ) |
Definition at line 49 of file shell_quoting.py.
References shell_quoting.ShellQuoted.__repr__(), and shell_quoting.ShellQuoted.format().
def shell_quoting.ShellQuoted.__str__ | ( | self | ) |
Definition at line 43 of file shell_quoting.py.
References shell_quoting.ShellQuoted.__str__(), and shell_quoting.ShellQuoted.format().
def shell_quoting.ShellQuoted.__str__ | ( | self | ) |
Definition at line 43 of file shell_quoting.py.
References shell_quoting.ShellQuoted.__str__(), and shell_quoting.ShellQuoted.format().
def shell_quoting.ShellQuoted.__str__ | ( | self | ) |
Definition at line 43 of file shell_quoting.py.
References shell_quoting.ShellQuoted.format().
Referenced by shell_quoting.ShellQuoted.__str__().
def shell_quoting.ShellQuoted.__str__ | ( | self | ) |
Definition at line 43 of file shell_quoting.py.
References shell_quoting.ShellQuoted.__str__(), and shell_quoting.ShellQuoted.format().
def shell_quoting.ShellQuoted.format | ( | self, | |
kwargs | |||
) |
Use instead of str.format() when the arguments are either `ShellQuoted()` or raw strings needing to be `shell_quote()`d. Positional args are deliberately not supported since they are more error-prone.
Definition at line 54 of file shell_quoting.py.
References shell_quoting.shell_quote().
Referenced by shell_quoting.ShellQuoted.__repr__(), shell_quoting.ShellQuoted.__str__(), and shell_quoting.ShellQuoted.format().
def shell_quoting.ShellQuoted.format | ( | self, | |
kwargs | |||
) |
Use instead of str.format() when the arguments are either `ShellQuoted()` or raw strings needing to be `shell_quote()`d. Positional args are deliberately not supported since they are more error-prone.
Definition at line 54 of file shell_quoting.py.
References shell_quoting.ShellQuoted.format(), shell_quoting.path_join(), shell_quoting.raw_shell(), replace(), shell_quoting.shell_comment(), shell_quoting.shell_join(), and shell_quoting.shell_quote().
def shell_quoting.ShellQuoted.format | ( | self, | |
kwargs | |||
) |
Use instead of str.format() when the arguments are either `ShellQuoted()` or raw strings needing to be `shell_quote()`d. Positional args are deliberately not supported since they are more error-prone.
Definition at line 54 of file shell_quoting.py.
References shell_quoting.ShellQuoted.format(), shell_quoting.path_join(), shell_quoting.raw_shell(), replace(), shell_quoting.shell_comment(), shell_quoting.shell_join(), and shell_quoting.shell_quote().
def shell_quoting.ShellQuoted.format | ( | self, | |
kwargs | |||
) |
Use instead of str.format() when the arguments are either `ShellQuoted()` or raw strings needing to be `shell_quote()`d. Positional args are deliberately not supported since they are more error-prone.
Definition at line 54 of file shell_quoting.py.
References shell_quoting.ShellQuoted.format(), shell_quoting.path_join(), shell_quoting.raw_shell(), replace(), shell_quoting.shell_comment(), shell_quoting.shell_join(), and shell_quoting.shell_quote().