Exemple #1
0
 def expand_tilde(self, text):
     """Built-in tilde expansion."""
     return readline.tilde_expand(text)
Exemple #2
0
 def test_tilde_expand_empty_string(self):
     self.assertEqual(readline.tilde_expand(''), '')
Exemple #3
0
 def test_tilde_expand_empty_string(self):
     self.assertEqual(readline.tilde_expand(''), '')
Exemple #4
0
 def expand_tilde(self, text):
     """Built-in tilde expansion."""
     return readline.tilde_expand(text)
Exemple #5
0
 def expand_tilde(self, text):
     """Built-in tilde expansion.
     May be called from anywhere to tilde-expand a filename."""
     return readline.tilde_expand(text)