@@ -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.
0 commit comments