Home
last modified time | relevance | path

Searched refs:isdocstring (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Tools/i18n/
Dpygettext.py370 self.__addentry(safe_eval(tstring), lineno, isdocstring=1)
390 self.__addentry(safe_eval(tstring), lineno, isdocstring=1)
428 def __addentry(self, msg, lineno=None, isdocstring=0): argument
433 self.__messages.setdefault(msg, {})[entry] = isdocstring
458 isdocstring = 0
463 isdocstring = 1
491 if isdocstring:
/external/python/cpython3/Tools/i18n/
Dpygettext.py335 self.__addentry(safe_eval(tstring), lineno, isdocstring=1)
361 self.__addentry(safe_eval(tstring), lineno, isdocstring=1)
399 def __addentry(self, msg, lineno=None, isdocstring=0): argument
404 self.__messages.setdefault(msg, {})[entry] = isdocstring
431 isdocstring = any(v.values())
458 if isdocstring:
/external/python/cpython3/Python/
Dast_opt.c456 isdocstring(stmt_ty s) in isdocstring() function
473 int docstring = isdocstring((stmt_ty)asdl_seq_GET(stmts, 0)); in astfold_body()
479 if (isdocstring(st)) { in astfold_body()