pocketutils.core.chars
Module Contents
- class pocketutils.core.chars.Chars
Unicode symbols that are useful in code and annoying to search for repeatedly.
- classmethod squoted(s: Any) str
Wrap a string in singsle quotes.
- classmethod dquoted(s: Any) str
Wrap a string in double quotes.
- classmethod angled(s: Any) str
Wrap a string in angled brackets.
- classmethod dangled(s: Any) str
Wrap a string in double brackets.
- classmethod parened(s: Any) str
Wrap a string in parentheses.
- classmethod bracketed(s: Any) str
Wrap a string in square brackets.
- classmethod braced(s: Any) str
Wrap a string in curly braces.
- classmethod shelled(s: Any) str
Wrap a string in tortiose shell brackets (〔 〕).
- classmethod dbracketed(s: Any) str
Wrap a string in double square brackets (⟦ ⟧).