示例#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
文件: test_readline.py 项目: tony/rl
 def test_tilde_expand_empty_string(self):
     self.assertEqual(readline.tilde_expand(''), '')
示例#4
0
文件: _completion.py 项目: tony/rl
 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)