Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes | Static Public Attributes
pstats.ProfileBrowser Class Reference
Inheritance diagram for pstats.ProfileBrowser:
Inheritance graph
[legend]
Collaboration diagram for pstats.ProfileBrowser:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def generic
def generic_help
def do_add
def help_add
def do_callees
def help_callees
def do_callers
def help_callers
def do_EOF
def help_EOF
def do_quit
def help_quit
def do_read
def help_read
def do_reverse
def help_reverse
def do_sort
def help_sort
def complete_sort
def do_stats
def help_stats
def do_strip
def help_strip
def help_help
def postcmd
def cmdloop
def precmd
def preloop
def postloop
def parseline
def onecmd
def emptyline
def default
def completedefault
def completenames
def complete
def get_names
def complete_help
def do_help
def print_topics
def columnize

Public Attributes

 prompt
 stats
 stream
 lastcmd
 stdin
 stdout
 cmdqueue
 completekey
 old_completer
 completion_matches

Static Public Attributes

 identchars = IDENTCHARS
string ruler = '='
string lastcmd = ''
 intro = None
string doc_leader = ""
string doc_header = "Documented commands (type help <topic>):"
string misc_header = "Miscellaneous help topics:"
string undoc_header = "Undocumented commands:"
string nohelp = "*** No help on %s"
int use_rawinput = 1

Detailed Description

Definition at line 534 of file pstats.py.


Constructor & Destructor Documentation

def pstats.ProfileBrowser.__init__ (   self,
  profile = None 
)

Definition at line 535 of file pstats.py.

00535 
00536         def __init__(self, profile=None):
00537             cmd.Cmd.__init__(self)
00538             self.prompt = "% "
00539             self.stats = None
00540             self.stream = sys.stdout
00541             if profile is not None:
00542                 self.do_read(profile)

Here is the call graph for this function:

Here is the caller graph for this function:


Member Function Documentation

def cmd.Cmd.cmdloop (   self,
  intro = None 
) [inherited]
Repeatedly issue a prompt, accept input, parse an initial prefix
off the received input, and dispatch to action methods, passing them
the remainder of the line as argument.

Definition at line 98 of file cmd.py.

00098 
00099     def cmdloop(self, intro=None):
00100         """Repeatedly issue a prompt, accept input, parse an initial prefix
00101         off the received input, and dispatch to action methods, passing them
00102         the remainder of the line as argument.
00103 
00104         """
00105 
00106         self.preloop()
00107         if self.use_rawinput and self.completekey:
00108             try:
00109                 import readline
00110                 self.old_completer = readline.get_completer()
00111                 readline.set_completer(self.complete)
00112                 readline.parse_and_bind(self.completekey+": complete")
00113             except ImportError:
00114                 pass
00115         try:
00116             if intro is not None:
00117                 self.intro = intro
00118             if self.intro:
00119                 self.stdout.write(str(self.intro)+"\n")
00120             stop = None
00121             while not stop:
00122                 if self.cmdqueue:
00123                     line = self.cmdqueue.pop(0)
00124                 else:
00125                     if self.use_rawinput:
00126                         try:
00127                             line = input(self.prompt)
00128                         except EOFError:
00129                             line = 'EOF'
00130                     else:
00131                         self.stdout.write(self.prompt)
00132                         self.stdout.flush()
00133                         line = self.stdin.readline()
00134                         if not len(line):
00135                             line = 'EOF'
00136                         else:
00137                             line = line.rstrip('\r\n')
00138                 line = self.precmd(line)
00139                 stop = self.onecmd(line)
00140                 stop = self.postcmd(stop, line)
00141             self.postloop()
00142         finally:
00143             if self.use_rawinput and self.completekey:
00144                 try:
00145                     import readline
00146                     readline.set_completer(self.old_completer)
00147                 except ImportError:
00148                     pass
00149 

Here is the call graph for this function:

Here is the caller graph for this function:

def cmd.Cmd.columnize (   self,
  list,
  displaywidth = 80 
) [inherited]
Display a list of strings as a compact set of columns.

Each column is only as wide as necessary.
Columns are separated by two spaces (one was not legible enough).

Definition at line 344 of file cmd.py.

00344 
00345     def columnize(self, list, displaywidth=80):
00346         """Display a list of strings as a compact set of columns.
00347 
00348         Each column is only as wide as necessary.
00349         Columns are separated by two spaces (one was not legible enough).
00350         """
00351         if not list:
00352             self.stdout.write("<empty>\n")
00353             return
00354 
00355         nonstrings = [i for i in range(len(list))
00356                         if not isinstance(list[i], str)]
00357         if nonstrings:
00358             raise TypeError("list[i] not a string for i in %s"
00359                             % ", ".join(map(str, nonstrings)))
00360         size = len(list)
00361         if size == 1:
00362             self.stdout.write('%s\n'%str(list[0]))
00363             return
00364         # Try every row count from 1 upwards
00365         for nrows in range(1, len(list)):
00366             ncols = (size+nrows-1) // nrows
00367             colwidths = []
00368             totwidth = -2
00369             for col in range(ncols):
00370                 colwidth = 0
00371                 for row in range(nrows):
00372                     i = row + nrows*col
00373                     if i >= size:
00374                         break
00375                     x = list[i]
00376                     colwidth = max(colwidth, len(x))
00377                 colwidths.append(colwidth)
00378                 totwidth += colwidth + 2
00379                 if totwidth > displaywidth:
00380                     break
00381             if totwidth <= displaywidth:
00382                 break
00383         else:
00384             nrows = len(list)
00385             ncols = 1
00386             colwidths = [0]
00387         for row in range(nrows):
00388             texts = []
00389             for col in range(ncols):
00390                 i = row + nrows*col
00391                 if i >= size:
00392                     x = ""
00393                 else:
00394                     x = list[i]
00395                 texts.append(x)
00396             while texts and not texts[-1]:
00397                 del texts[-1]
00398             for col in range(len(texts)):
00399                 texts[col] = texts[col].ljust(colwidths[col])
00400             self.stdout.write("%s\n"%str("  ".join(texts)))

Here is the call graph for this function:

Here is the caller graph for this function:

def cmd.Cmd.complete (   self,
  text,
  state 
) [inherited]
Return the next possible completion for 'text'.

If a command has not been entered, then complete against command list.
Otherwise try to call complete_<command> to get list of completions.

Definition at line 249 of file cmd.py.

00249 
00250     def complete(self, text, state):
00251         """Return the next possible completion for 'text'.
00252 
00253         If a command has not been entered, then complete against command list.
00254         Otherwise try to call complete_<command> to get list of completions.
00255         """
00256         if state == 0:
00257             import readline
00258             origline = readline.get_line_buffer()
00259             line = origline.lstrip()
00260             stripped = len(origline) - len(line)
00261             begidx = readline.get_begidx() - stripped
00262             endidx = readline.get_endidx() - stripped
00263             if begidx>0:
00264                 cmd, args, foo = self.parseline(line)
00265                 if cmd == '':
00266                     compfunc = self.completedefault
00267                 else:
00268                     try:
00269                         compfunc = getattr(self, 'complete_' + cmd)
00270                     except AttributeError:
00271                         compfunc = self.completedefault
00272             else:
00273                 compfunc = self.completenames
00274             self.completion_matches = compfunc(text, line, begidx, endidx)
00275         try:
00276             return self.completion_matches[state]
00277         except IndexError:
00278             return None

Here is the call graph for this function:

def cmd.Cmd.complete_help (   self,
  args 
) [inherited]

Definition at line 284 of file cmd.py.

00284 
00285     def complete_help(self, *args):
00286         commands = set(self.completenames(*args))
00287         topics = set(a[5:] for a in self.get_names()
00288                      if a.startswith('help_' + args[0]))
00289         return list(commands | topics)

Here is the call graph for this function:

def pstats.ProfileBrowser.complete_sort (   self,
  text,
  args 
)

Definition at line 652 of file pstats.py.

00652 
00653         def complete_sort(self, text, *args):
00654             return [a for a in Stats.sort_arg_dict_default if a.startswith(text)]

def cmd.Cmd.completedefault (   self,
  ignored 
) [inherited]
Method called to complete an input line when no command-specific
complete_*() method is available.

By default, it returns an empty list.

Reimplemented in test.test_cmd.samplecmdclass.

Definition at line 236 of file cmd.py.

00236 
00237     def completedefault(self, *ignored):
00238         """Method called to complete an input line when no command-specific
00239         complete_*() method is available.
00240 
00241         By default, it returns an empty list.
00242 
00243         """
00244         return []

Here is the caller graph for this function:

def cmd.Cmd.completenames (   self,
  text,
  ignored 
) [inherited]

Definition at line 245 of file cmd.py.

00245 
00246     def completenames(self, text, *ignored):
00247         dotext = 'do_'+text
00248         return [a[3:] for a in self.get_names() if a.startswith(dotext)]

Here is the call graph for this function:

Here is the caller graph for this function:

def cmd.Cmd.default (   self,
  line 
) [inherited]
Called on an input line when the command prefix is not recognized.

If this method is not overridden, it prints an error message and
returns.

Reimplemented in pdb.Pdb.

Definition at line 227 of file cmd.py.

00227 
00228     def default(self, line):
00229         """Called on an input line when the command prefix is not recognized.
00230 
00231         If this method is not overridden, it prints an error message and
00232         returns.
00233 
00234         """
00235         self.stdout.write('*** Unknown syntax: %s\n'%line)

Here is the caller graph for this function:

def pstats.ProfileBrowser.do_add (   self,
  line 
)

Definition at line 575 of file pstats.py.

00575 
00576         def do_add(self, line):
00577             if self.stats:
00578                 self.stats.add(line)
00579             else:
00580                 print("No statistics object is loaded.", file=self.stream)
            return 0
def pstats.ProfileBrowser.do_callees (   self,
  line 
)

Definition at line 584 of file pstats.py.

00584 
00585         def do_callees(self, line):
            return self.generic('print_callees', line)

Here is the call graph for this function:

def pstats.ProfileBrowser.do_callers (   self,
  line 
)

Definition at line 590 of file pstats.py.

00590 
00591         def do_callers(self, line):
            return self.generic('print_callers', line)

Here is the call graph for this function:

def pstats.ProfileBrowser.do_EOF (   self,
  line 
)

Definition at line 596 of file pstats.py.

00596 
00597         def do_EOF(self, line):
00598             print("", file=self.stream)
            return 1
def cmd.Cmd.do_help (   self,
  arg 
) [inherited]

Reimplemented in pdb.Pdb.

Definition at line 290 of file cmd.py.

00290 
00291     def do_help(self, arg):
00292         'List available commands with "help" or detailed help with "help cmd".'
00293         if arg:
00294             # XXX check arg syntax
00295             try:
00296                 func = getattr(self, 'help_' + arg)
00297             except AttributeError:
00298                 try:
00299                     doc=getattr(self, 'do_' + arg).__doc__
00300                     if doc:
00301                         self.stdout.write("%s\n"%str(doc))
00302                         return
00303                 except AttributeError:
00304                     pass
00305                 self.stdout.write("%s\n"%str(self.nohelp % (arg,)))
00306                 return
00307             func()
00308         else:
00309             names = self.get_names()
00310             cmds_doc = []
00311             cmds_undoc = []
00312             help = {}
00313             for name in names:
00314                 if name[:5] == 'help_':
00315                     help[name[5:]]=1
00316             names.sort()
00317             # There can be duplicates if routines overridden
00318             prevname = ''
00319             for name in names:
00320                 if name[:3] == 'do_':
00321                     if name == prevname:
00322                         continue
00323                     prevname = name
00324                     cmd=name[3:]
00325                     if cmd in help:
00326                         cmds_doc.append(cmd)
00327                         del help[cmd]
00328                     elif getattr(self, name).__doc__:
00329                         cmds_doc.append(cmd)
00330                     else:
00331                         cmds_undoc.append(cmd)
00332             self.stdout.write("%s\n"%str(self.doc_leader))
00333             self.print_topics(self.doc_header,   cmds_doc,   15,80)
00334             self.print_topics(self.misc_header,  list(help.keys()),15,80)
00335             self.print_topics(self.undoc_header, cmds_undoc, 15,80)

Here is the call graph for this function:

Here is the caller graph for this function:

def pstats.ProfileBrowser.do_quit (   self,
  line 
)

Definition at line 602 of file pstats.py.

00602 
00603         def do_quit(self, line):
            return 1
def pstats.ProfileBrowser.do_read (   self,
  line 
)

Definition at line 607 of file pstats.py.

00607 
00608         def do_read(self, line):
00609             if line:
00610                 try:
00611                     self.stats = Stats(line)
00612                 except IOError as err:
00613                     print(err.args[1], file=self.stream)
00614                     return
00615                 except Exception as err:
00616                     print(err.__class__.__name__ + ':', err, file=self.stream)
00617                     return
00618                 self.prompt = line + "% "
00619             elif len(self.prompt) > 2:
00620                 line = self.prompt[:-2]
00621                 self.do_read(line)
00622             else:
00623                 print("No statistics object is current -- cannot reload.", file=self.stream)
            return 0

Here is the call graph for this function:

Here is the caller graph for this function:

def pstats.ProfileBrowser.do_reverse (   self,
  line 
)

Definition at line 628 of file pstats.py.

00628 
00629         def do_reverse(self, line):
00630             if self.stats:
00631                 self.stats.reverse_order()
00632             else:
00633                 print("No statistics object is loaded.", file=self.stream)
            return 0
def pstats.ProfileBrowser.do_sort (   self,
  line 
)

Definition at line 637 of file pstats.py.

00637 
00638         def do_sort(self, line):
00639             if not self.stats:
00640                 print("No statistics object is loaded.", file=self.stream)
00641                 return
00642             abbrevs = self.stats.get_sort_arg_defs()
00643             if line and all((x in abbrevs) for x in line.split()):
00644                 self.stats.sort_stats(*line.split())
00645             else:
00646                 print("Valid sort keys (unique prefixes are accepted):", file=self.stream)
00647                 for (key, value) in Stats.sort_arg_dict_default.items():
00648                     print("%s -- %s" % (key, value[1]), file=self.stream)
            return 0
def pstats.ProfileBrowser.do_stats (   self,
  line 
)

Definition at line 655 of file pstats.py.

00655 
00656         def do_stats(self, line):
            return self.generic('print_stats', line)

Here is the call graph for this function:

def pstats.ProfileBrowser.do_strip (   self,
  line 
)

Definition at line 661 of file pstats.py.

00661 
00662         def do_strip(self, line):
00663             if self.stats:
00664                 self.stats.strip_dirs()
00665             else:
                print("No statistics object is loaded.", file=self.stream)
def cmd.Cmd.emptyline (   self) [inherited]
Called when an empty line is entered in response to the prompt.

If this method is not overridden, it repeats the last nonempty
command entered.

Definition at line 217 of file cmd.py.

00217 
00218     def emptyline(self):
00219         """Called when an empty line is entered in response to the prompt.
00220 
00221         If this method is not overridden, it repeats the last nonempty
00222         command entered.
00223 
00224         """
00225         if self.lastcmd:
00226             return self.onecmd(self.lastcmd)

Here is the call graph for this function:

Here is the caller graph for this function:

def pstats.ProfileBrowser.generic (   self,
  fn,
  line 
)

Definition at line 543 of file pstats.py.

00543 
00544         def generic(self, fn, line):
00545             args = line.split()
00546             processed = []
00547             for term in args:
00548                 try:
00549                     processed.append(int(term))
00550                     continue
00551                 except ValueError:
00552                     pass
00553                 try:
00554                     frac = float(term)
00555                     if frac > 1 or frac < 0:
00556                         print("Fraction argument must be in [0, 1]", file=self.stream)
00557                         continue
00558                     processed.append(frac)
00559                     continue
00560                 except ValueError:
00561                     pass
00562                 processed.append(term)
00563             if self.stats:
00564                 getattr(self.stats, fn)(*processed)
00565             else:
00566                 print("No statistics object is loaded.", file=self.stream)
            return 0

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 567 of file pstats.py.

00567 
00568         def generic_help(self):
00569             print("Arguments may be:", file=self.stream)
00570             print("* An integer maximum number of entries to print.", file=self.stream)
00571             print("* A decimal fractional number between 0 and 1, controlling", file=self.stream)
00572             print("  what fraction of selected entries to print.", file=self.stream)
00573             print("* A regular expression; only entries with function names", file=self.stream)
00574             print("  that match it are printed.", file=self.stream)

Here is the caller graph for this function:

def cmd.Cmd.get_names (   self) [inherited]

Definition at line 279 of file cmd.py.

00279 
00280     def get_names(self):
00281         # This method used to pull in base class attributes
00282         # at a time dir() didn't do it yet.
00283         return dir(self.__class__)

Here is the caller graph for this function:

Definition at line 581 of file pstats.py.

00581 
00582         def help_add(self):
00583             print("Add profile info from given file to current statistics object.", file=self.stream)

Definition at line 586 of file pstats.py.

00586 
00587         def help_callees(self):
00588             print("Print callees statistics from the current stat object.", file=self.stream)
00589             self.generic_help()

Here is the call graph for this function:

Definition at line 592 of file pstats.py.

00592 
00593         def help_callers(self):
00594             print("Print callers statistics from the current stat object.", file=self.stream)
00595             self.generic_help()

Here is the call graph for this function:

Definition at line 599 of file pstats.py.

00599 
00600         def help_EOF(self):
00601             print("Leave the profile brower.", file=self.stream)

Definition at line 669 of file pstats.py.

00669 
00670         def help_help(self):
00671             print("Show help for a given command.", file=self.stream)

Definition at line 604 of file pstats.py.

00604 
00605         def help_quit(self):
00606             print("Leave the profile brower.", file=self.stream)

Definition at line 624 of file pstats.py.

00624 
00625         def help_read(self):
00626             print("Read in profile data from a specified file.", file=self.stream)
00627             print("Without argument, reload the current file.", file=self.stream)

Definition at line 634 of file pstats.py.

00634 
00635         def help_reverse(self):
00636             print("Reverse the sort order of the profiling report.", file=self.stream)

Definition at line 649 of file pstats.py.

00649 
00650         def help_sort(self):
00651             print("Sort profile data according to specified keys.", file=self.stream)
            print("(Typing `sort' without arguments lists valid keys.)", file=self.stream)

Definition at line 657 of file pstats.py.

00657 
00658         def help_stats(self):
00659             print("Print statistics from the current stat object.", file=self.stream)
00660             self.generic_help()

Here is the call graph for this function:

Definition at line 666 of file pstats.py.

00666 
00667         def help_strip(self):
00668             print("Strip leading path information from filenames in the report.", file=self.stream)

def cmd.Cmd.onecmd (   self,
  line 
) [inherited]
Interpret the argument as though it had been typed in response
to the prompt.

This may be overridden, but should not normally need to be;
see the precmd() and postcmd() methods for useful execution hooks.
The return value is a flag indicating whether interpretation of
commands by the interpreter should stop.

Reimplemented in pdb.Pdb.

Definition at line 192 of file cmd.py.

00192 
00193     def onecmd(self, line):
00194         """Interpret the argument as though it had been typed in response
00195         to the prompt.
00196 
00197         This may be overridden, but should not normally need to be;
00198         see the precmd() and postcmd() methods for useful execution hooks.
00199         The return value is a flag indicating whether interpretation of
00200         commands by the interpreter should stop.
00201 
00202         """
00203         cmd, arg, line = self.parseline(line)
00204         if not line:
00205             return self.emptyline()
00206         if cmd is None:
00207             return self.default(line)
00208         self.lastcmd = line
00209         if cmd == '':
00210             return self.default(line)
00211         else:
00212             try:
00213                 func = getattr(self, 'do_' + cmd)
00214             except AttributeError:
00215                 return self.default(line)
00216             return func(arg)

Here is the call graph for this function:

Here is the caller graph for this function:

def cmd.Cmd.parseline (   self,
  line 
) [inherited]
Parse the line into a command name and a string containing
the arguments.  Returns a tuple containing (command, args, line).
'command' and 'args' may be None if the line couldn't be parsed.

Definition at line 172 of file cmd.py.

00172 
00173     def parseline(self, line):
00174         """Parse the line into a command name and a string containing
00175         the arguments.  Returns a tuple containing (command, args, line).
00176         'command' and 'args' may be None if the line couldn't be parsed.
00177         """
00178         line = line.strip()
00179         if not line:
00180             return None, None, line
00181         elif line[0] == '?':
00182             line = 'help ' + line[1:]
00183         elif line[0] == '!':
00184             if hasattr(self, 'do_shell'):
00185                 line = 'shell ' + line[1:]
00186             else:
00187                 return None, None, line
00188         i, n = 0, len(line)
00189         while i < n and line[i] in self.identchars: i = i+1
00190         cmd, arg = line[:i], line[i:].strip()
00191         return cmd, arg, line

Here is the caller graph for this function:

def pstats.ProfileBrowser.postcmd (   self,
  stop,
  line 
)
Hook method executed just after a command dispatch is finished.

Reimplemented from cmd.Cmd.

Definition at line 672 of file pstats.py.

00672 
00673         def postcmd(self, stop, line):
00674             if stop:
00675                 return stop
00676             return None
00677 
    import sys
def cmd.Cmd.postloop (   self) [inherited]
Hook method executed once when the cmdloop() method is about to
return.

Reimplemented in test.test_cmd.samplecmdclass.

Definition at line 165 of file cmd.py.

00165 
00166     def postloop(self):
00167         """Hook method executed once when the cmdloop() method is about to
00168         return.
00169 
00170         """
00171         pass

def cmd.Cmd.precmd (   self,
  line 
) [inherited]
Hook method executed just before the command line is
interpreted, but after the input prompt is generated and issued.

Reimplemented in pdb.Pdb.

Definition at line 150 of file cmd.py.

00150 
00151     def precmd(self, line):
00152         """Hook method executed just before the command line is
00153         interpreted, but after the input prompt is generated and issued.
00154 
00155         """
00156         return line

def cmd.Cmd.preloop (   self) [inherited]
Hook method executed once when the cmdloop() method is called.

Reimplemented in pdb.Pdb, and test.test_cmd.samplecmdclass.

Definition at line 161 of file cmd.py.

00161 
00162     def preloop(self):
00163         """Hook method executed once when the cmdloop() method is called."""
00164         pass

Here is the caller graph for this function:

def cmd.Cmd.print_topics (   self,
  header,
  cmds,
  cmdlen,
  maxcol 
) [inherited]

Definition at line 336 of file cmd.py.

00336 
00337     def print_topics(self, header, cmds, cmdlen, maxcol):
00338         if cmds:
00339             self.stdout.write("%s\n"%str(header))
00340             if self.ruler:
00341                 self.stdout.write("%s\n"%str(self.ruler * len(header)))
00342             self.columnize(cmds, maxcol-1)
00343             self.stdout.write("\n")

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

cmd.Cmd.cmdqueue [inherited]

Reimplemented in pdb.Pdb.

Definition at line 95 of file cmd.py.

cmd.Cmd.completekey [inherited]

Definition at line 96 of file cmd.py.

Definition at line 273 of file cmd.py.

string cmd.Cmd.doc_header = "Documented commands (type help <topic>):" [static, inherited]

Definition at line 70 of file cmd.py.

string cmd.Cmd.doc_leader = "" [static, inherited]

Definition at line 69 of file cmd.py.

cmd.Cmd.identchars = IDENTCHARS [static, inherited]

Definition at line 65 of file cmd.py.

cmd.Cmd.intro = None [static, inherited]

Definition at line 68 of file cmd.py.

string cmd.Cmd.lastcmd = '' [static, inherited]

Reimplemented in pdb.Pdb.

Definition at line 67 of file cmd.py.

cmd.Cmd.lastcmd [inherited]

Reimplemented in pdb.Pdb.

Definition at line 207 of file cmd.py.

string cmd.Cmd.misc_header = "Miscellaneous help topics:" [static, inherited]

Definition at line 71 of file cmd.py.

string cmd.Cmd.nohelp = "*** No help on %s" [static, inherited]

Definition at line 73 of file cmd.py.

cmd.Cmd.old_completer [inherited]

Definition at line 109 of file cmd.py.

Reimplemented from cmd.Cmd.

Definition at line 537 of file pstats.py.

string cmd.Cmd.ruler = '=' [static, inherited]

Definition at line 66 of file cmd.py.

Definition at line 538 of file pstats.py.

cmd.Cmd.stdin [inherited]

Definition at line 88 of file cmd.py.

cmd.Cmd.stdout [inherited]

Definition at line 92 of file cmd.py.

Definition at line 539 of file pstats.py.

string cmd.Cmd.undoc_header = "Undocumented commands:" [static, inherited]

Definition at line 72 of file cmd.py.

int cmd.Cmd.use_rawinput = 1 [static, inherited]

Reimplemented in doctest._OutputRedirectingPdb, and pdb.Pdb.

Definition at line 74 of file cmd.py.


The documentation for this class was generated from the following file: