parameters: (s, old, new, maxsplit=0)
return_statement: return s.replace(old, new, maxsplit)
docstring: replace (str, old, new[, maxsplit]) -> string
  
      Return a copy of string str with all occurrences of substring
      old replaced by new. If the optional argument maxsplit is
      given, only the first maxsplit occurrences are replaced.
docstring_summary: replace (str, old, new[, maxsplit]) -> string
docstring_tokens: replace ( str old new [ maxsplit ] ) - > string
function: def replace(s, old, new, maxsplit=0):
      """replace (str, old, new[, maxsplit]) -> string
  
      Return a copy of string str with all occurrences of substring
      old replaced by new. If the optional argument maxsplit is
      given, only the first maxsplit occurrences are replaced.
  
      """
      return s.replace(old, new, maxsplit)
function_tokens: def replace ( s , old , new , maxsplit = 0 ) : return s . replace ( old , new , maxsplit )