File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change 15
15
import collections as _collections
16
16
import dataclasses as _dataclasses
17
17
import re
18
- import sys as _sys
19
18
import types as _types
20
19
from io import StringIO as _StringIO
21
20
from typing import Any
@@ -61,9 +60,7 @@ def __init__(
61
60
indent = 4 ,
62
61
width = 80 ,
63
62
depth = None ,
64
- stream = None ,
65
63
* ,
66
- compact = False ,
67
64
sort_dicts = True ,
68
65
underscore_numbers = False ,
69
66
):
@@ -79,13 +76,6 @@ def __init__(
79
76
depth
80
77
The maximum depth to print out nested structures.
81
78
82
- stream
83
- The desired output stream. If omitted (or false), the standard
84
- output stream available at construction will be used.
85
-
86
- compact
87
- If true, several items will be combined in one line.
88
-
89
79
sort_dicts
90
80
If true, dict keys are sorted.
91
81
@@ -101,11 +91,6 @@ def __init__(
101
91
self ._depth = depth
102
92
self ._indent_per_level = indent
103
93
self ._width = width
104
- if stream is not None :
105
- self ._stream = stream
106
- else :
107
- self ._stream = _sys .stdout
108
- self ._compact = bool (compact )
109
94
self ._sort_dicts = sort_dicts
110
95
self ._underscore_numbers = underscore_numbers
111
96
You can’t perform that action at this time.
0 commit comments