Home
last modified time | relevance | path

Searched refs:attr_matches (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_rlcompleter.py52 self.assertEqual(self.stdcompleter.attr_matches('str.s'),
55 self.assertEqual(self.stdcompleter.attr_matches('tuple.foospamegg'), [])
58 self.assertEqual(self.stdcompleter.attr_matches('None.'), expected)
59 self.assertEqual(self.stdcompleter.attr_matches('None._'), expected)
60 self.assertEqual(self.stdcompleter.attr_matches('None.__'), expected)
63 self.assertEqual(self.completer.attr_matches('CompleteMe.sp'),
65 self.assertEqual(self.completer.attr_matches('Completeme.egg'), [])
66 self.assertEqual(self.completer.attr_matches('CompleteMe.'),
68 self.assertEqual(self.completer.attr_matches('CompleteMe._'),
70 matches = self.completer.attr_matches('CompleteMe.__')
[all …]
/external/python/cpython2/Lib/test/
Dtest_rlcompleter.py51 self.assertEqual(self.stdcompleter.attr_matches('str.s'),
54 self.assertEqual(self.stdcompleter.attr_matches('tuple.foospamegg'), [])
57 self.assertEqual(self.completer.attr_matches('CompleteMe.sp'),
59 self.assertEqual(self.completer.attr_matches('Completeme.egg'), [])
62 self.assertEqual(self.completer.attr_matches('CompleteMe.me.me.sp'),
64 self.assertEqual(self.completer.attr_matches('egg.s'),
/external/python/cpython2/Lib/
Drlcompleter.py83 self.matches = self.attr_matches(text)
118 def attr_matches(self, text): member in Completer
/external/python/cpython3/Lib/
Drlcompleter.py89 self.matches = self.attr_matches(text)
130 def attr_matches(self, text): member in Completer