Merge pull request #11896 from corywright/fix-file-replace-docs

Add missing : from end of three params in file.replace documentation
This commit is contained in:
Seth House 2014-04-10 08:58:38 -06:00
commit 200aaccd5d

View File

@ -937,11 +937,11 @@ def replace(path,
buffering.
:type bufsize: int or str
:param append_if_not_found If pattern is not found and set to ``True``
:param append_if_not_found: If pattern is not found and set to ``True``
then, the content will be appended to the file.
:param prepend_if_not_found If pattern is not found and set to ``True``
:param prepend_if_not_found: If pattern is not found and set to ``True``
then, the content will be appended to the file.
:param not_found_content Content to use for append/prepend if not found. If
:param not_found_content: Content to use for append/prepend if not found. If
None (default), uses repl. Useful when repl uses references to group in
pattern.