@@ -214,6 +214,10 @@ Note:
214214 defined in the :mod: `imp ` module; see the documentation for that module for
215215 more information on module types.
216216
217+ .. versionchanged :: 2.6
218+ Returns a :term: `named tuple ` ``ModuleInfo(name, suffix, mode,
219+ module_type) ``.
220+
217221
218222.. function :: getmodulename(path)
219223
@@ -405,6 +409,10 @@ Classes and functions
405409 default argument values or None if there are no default arguments; if this tuple
406410 has *n * elements, they correspond to the last *n * elements listed in *args *.
407411
412+ .. versionchanged :: 2.6
413+ Returns a :term: `named tuple ` ``ArgSpec(args, varargs, keywords,
414+ defaults) ``.
415+
408416
409417.. function :: getargvalues(frame)
410418
@@ -414,6 +422,10 @@ Classes and functions
414422 names of the ``* `` and ``** `` arguments or ``None ``. *locals * is the locals
415423 dictionary of the given frame.
416424
425+ .. versionchanged :: 2.6
426+ Returns a :term: `named tuple ` ``ArgInfo(args, varargs, keywords,
427+ locals) ``.
428+
417429
418430.. function :: formatargspec(args[, varargs, varkw, defaults, formatarg, formatvarargs, formatvarkw, formatvalue, join])
419431
@@ -479,6 +491,10 @@ line.
479491 Get information about a frame or traceback object. A 5-tuple is returned, the
480492 last five elements of the frame's frame record.
481493
494+ .. versionchanged :: 2.6
495+ Returns a :term: `named tuple ` ``Traceback(filename, lineno, function,
496+ code_context, index) ``.
497+
482498
483499.. function :: getouterframes(frame[, context])
484500
0 commit comments