Home
last modified time | relevance | path

Searched refs:local_vars (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/distutils/
Dutil.py190 def subst_vars (s, local_vars): argument
200 def _subst (match, local_vars=local_vars): argument
202 if var_name in local_vars:
203 return str(local_vars[var_name])
/external/autotest/client/bin/
Djob.py946 def _run_step_fn(self, local_vars, fn, args, dargs): argument
949 local_vars['__args'] = args
950 local_vars['__dargs'] = dargs
952 exec('__ret = %s(*__args, **__dargs)' % fn, local_vars, local_vars)
953 return local_vars['__ret']
999 def _add_step_init(self, local_vars, current_function): argument
1005 if (isinstance(local_vars, dict) and
1006 'step_init' in local_vars and
1007 callable(local_vars['step_init'])):
1061 local_vars, self._current_step_ancestry = ret
[all …]
/external/python/cpython2/Lib/
Dsysconfig.py136 def _subst_vars(s, local_vars): argument
138 return s.format(**local_vars)
/external/toolchain-utils/cros_utils/
Dbuildbot_json.py1097 local_vars = {'buildbot': buildbot, 'b': buildbot}
1098 code.interact(prompt, None, local_vars)
/external/python/cpython2/Doc/distutils/
Dapiref.rst1156 .. function:: subst_vars(s, local_vars)
1160 by the value found in the *local_vars* dictionary, or in ``os.environ`` if it's
1161 not in *local_vars*. *os.environ* is first checked/augmented to guarantee that
1163 for any variables not found in either *local_vars* or ``os.environ``.