コード例 #1
0
 def expand_tilde(self, text):
     """Built-in tilde expansion."""
     return readline.tilde_expand(text)
コード例 #2
0
ファイル: test_readline.py プロジェクト: stefanholek/rl
 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
ファイル: _completion.py プロジェクト: stefanholek/rl
 def expand_tilde(self, text):
     """Built-in tilde expansion.
     May be called from anywhere to tilde-expand a filename."""
     return readline.tilde_expand(text)