class_docstr: A class used to parse strings containing doctest examples.
  
  Note: This is a version modified to properly recognize IPython input and
  convert any IPython examples into valid Python ones.
docstr: Given the lines of a source string (including prompts and
  leading indentation), check to make sure that every prompt is
  followed by a space character.  If any line is not followed by
  a space character, then raise ValueError.
  
  Note: IPython-modified version which takes the input prompt length as a
  parameter, so that prompts of variable length can be dealt with.
docstr_tok: ["Given","the","lines","of","a","source","string","(","including","prompts","and","leading","indentation",")",",","check","to","make","sure","that","every","prompt","is","followed","by","a","space","character",".","If","any","line","is","not","followed","by","a","space","character",",","then","raise","ValueError",".","Note",":","IPython-modified","version","which","takes","the","input","prompt","length","as","a","parameter",",","so","that","prompts","of","variable","length","can","be","dealt","with","."]
code: def _check_prompt_blank(self, lines, indent, name, lineno, ps1_len):
      """
      Given the lines of a source string (including prompts and
      leading indentation), check to make sure that every prompt is
      followed by a space character.  If any line is not followed by
      a space character, then raise ValueError.
  
      Note: IPython-modified version which takes the input prompt length as a
      parameter, so that prompts of variable length can be dealt with.
      """
      space_idx = indent + ps1_len
      min_len = space_idx + 1
      for i, line in enumerate(lines):
          if len(line) >= min_len and line[space_idx] != " ":
              raise ValueError(
                  "line %r of the docstring for %s "
                  "lacks blank after %s: %r"
                  % (lineno + i + 1, name, line[indent:space_idx], line)
              )
  
imports: import doctest
  import logging
  import re
  from testpath import modified_env
label_desc: Use image node_id 4 for calling the IPDocTestParser obj's underlying member method code with example usage: obj._check_prompt_blank(lines, indent, name, lineno, ps1_len) without return types