| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent ffeb7e7 commit ec93955
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -127,10 +127,10 @@ def handle_process_output( | |||
| 127 | 127 | Assume stdout/stderr streams are binary and decode them before pushing their | |
| 128 | 128 | contents to handlers. | |
| 129 | 129 | ||
| 130 | - This defaults to ``True``. Set it to ``False``: | ||
| 130 | + This defaults to ``True``. Set it to ``False`` if: | ||
| 131 | 131 | ||
| 132 | - - if ``universal_newlines == True``, as then streams are in text mode, or | ||
| 133 | - - if decoding must happen later, such as for :class:`~git.diff.Diff`\s. | ||
| 132 | + - ``universal_newlines == True``, as then streams are in text mode, or | ||
| 133 | + - decoding must happen later, such as for :class:`~git.diff.Diff`\s. | ||
| 134 | 134 | ||
| 135 | 135 | :param kill_after_timeout: | |
| 136 | 136 | :class:`float` or ``None``, Default = ``None`` | |
@@ -1085,13 +1085,15 @@ def execute( | |||
| 1085 | 1085 | specify may not be the same ones. | |
| 1086 | 1086 | ||
| 1087 | 1087 | :return: | |
| 1088 | - * str(output) if extended_output = False (Default) | ||
| 1089 | - * tuple(int(status), str(stdout), str(stderr)) if extended_output = True | ||
| 1088 | + * str(output), if `extended_output` is ``False`` (Default) | ||
| 1089 | + * tuple(int(status), str(stdout), str(stderr)), | ||
| 1090 | + if `extended_output` is ``True`` | ||
| 1090 | 1091 | ||
| 1091 | 1092 | If `output_stream` is ``True``, the stdout value will be your output stream: | |
| 1092 | 1093 | ||
| 1093 | - * output_stream if extended_output = False | ||
| 1094 | - * tuple(int(status), output_stream, str(stderr)) if extended_output = True | ||
| 1094 | + * output_stream, if `extended_output` is ``False`` | ||
| 1095 | + * tuple(int(status), output_stream, str(stderr)), | ||
| 1096 | + if `extended_output` is ``True`` | ||
| 1095 | 1097 | ||
| 1096 | 1098 | Note that git is executed with ``LC_MESSAGES="C"`` to ensure consistent | |
| 1097 | 1099 | output regardless of system language. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -112,8 +112,8 @@ def diff( | |||
| 112 | 112 | create_patch: bool = False, | |
| 113 | 113 | **kwargs: Any, | |
| 114 | 114 | ) -> "DiffIndex": | |
| 115 | - """Create diffs between two items being trees, trees and index or an | ||
| 116 | - index and the working tree. Detects renames automatically. | ||
| 115 | + """Create diffs between two items being trees, trees and index or an index and | ||
| 116 | + the working tree. Detects renames automatically. | ||
| 117 | 117 | ||
| 118 | 118 | :param other: | |
| 119 | 119 | This the item to compare us with. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments