##// END OF EJS Templates
fileset: don't suggest private or undocumented queries...
Matt Harbison -
r25633:0f44d357 default
parent child Browse files
Show More
@@ -189,7 +189,11 b' def clean(mctx, x):'
189 def func(mctx, a, b):
189 def func(mctx, a, b):
190 if a[0] == 'symbol' and a[1] in symbols:
190 if a[0] == 'symbol' and a[1] in symbols:
191 return symbols[a[1]](mctx, b)
191 return symbols[a[1]](mctx, b)
192 raise error.UnknownIdentifier(a[1], symbols.keys())
192
193 keep = lambda fn: getattr(fn, '__doc__', None) is not None
194
195 syms = [s for (s, fn) in symbols.items() if keep(fn)]
196 raise error.UnknownIdentifier(a[1], syms)
193
197
194 def getlist(x):
198 def getlist(x):
195 if not x:
199 if not x:
General Comments 0
You need to be logged in to leave comments. Login now