class_docstr: For Python console output or doctests, such as:
  
  .. sourcecode:: pycon
  
      >>> a = 'foo'
      >>> print a
      foo
      >>> 1 / 0
      Traceback (most recent call last):
        File "<stdin>", line 1, in <module>
      ZeroDivisionError: integer division or modulo by zero
  
  Additional options:
  
  `python3`
      Use Python 3 lexer for code.  Default is ``True``.
  
      .. versionadded:: 1.0
      .. versionchanged:: 2.5
         Now defaults to ``True``.
code: def __init__(self, **options):
      self.python3 = get_bool_opt(options, "python3", True)
      Lexer.__init__(self, **options)
  
imports: import re
  from pygments.lexer import Lexer, RegexLexer, include, bygroups, using, default, words, combined, do_insertions
  from pygments.util import get_bool_opt, shebang_matches
  from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Generic, Other, Error
  from pygments import unistring
label_desc: Use image node_id 1 to create a new PythonConsoleLexer object from inherited base classes: Lexer with example: obj = PythonConsoleLexer()