Example #1
0
 def expand_tilde(self, text):
     """Built-in tilde expansion."""
     return readline.tilde_expand(text)
Example #2
0
 def test_tilde_expand_empty_string(self):
     self.assertEqual(readline.tilde_expand(''), '')
Example #3
0
 def test_tilde_expand_empty_string(self):
     self.assertEqual(readline.tilde_expand(''), '')
Example #4
0
 def expand_tilde(self, text):
     """Built-in tilde expansion."""
     return readline.tilde_expand(text)
Example #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)