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