Added global runctx function to profile to fix SF Bug #716587
diff --git a/Doc/lib/libprofile.tex b/Doc/lib/libprofile.tex
index 4d62094..608e1cd 100644
--- a/Doc/lib/libprofile.tex
+++ b/Doc/lib/libprofile.tex
@@ -275,7 +275,7 @@
``better'' profilers from the classes presented, or reading the source
code for these modules.
-\begin{funcdesc}{run}{string\optional{, filename\optional{, ...}}}
+\begin{funcdesc}{run}{command\optional{, filename}}
This function takes a single argument that has can be passed to the
\keyword{exec} statement, and an optional file name. In all cases this
@@ -339,6 +339,12 @@
\end{funcdesc}
+\begin{funcdesc}{runctx}{command, globals, locals\optional{, filename}}
+This function is similar to \function{profile.run()}, with added
+arguments to supply the globals and locals dictionaries for the
+\var{command} string.
+\end{funcdesc}
+
Analysis of the profiler data is done using this class from the
\module{pstats} module: