Skip to content

Commit eeb42b2

Browse files
Ready for 0.1.4
1 parent 58a3de8 commit eeb42b2

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

NOTICE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright 2020 Tian Gao
1+
Copyright 2020-2021 Tian Gao
22

33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,12 @@ that match exclusive check.
184184
```objprint``` formats the output based on some configs
185185

186186
* ``config_name(default_value)`` - this config's explanation
187-
* ``depth(6)`` - how deep ```objprint``` goes into nested data structures
187+
* ``depth(100)`` - how deep ```objprint``` goes into nested data structures
188188
* ``indent(2)`` - the indentation
189189
* ``width(80)`` - the maximum width a data structure will be presented as a single line
190190
* ``elements(-1)`` - the maximum number of elements that will be displayed, ``-1`` means no restriction
191191
* ``color(True)`` - whether to use colored scheme
192+
* ``skip_recursion(True)`` - whether skip printing recursive data, which would cause infinite recursion without ``depth`` constraint
192193
* ``honor_existing(True)`` - whether to use the existing user defined ``__repr__`` or ``__str__`` method
193194

194195
You can set the configs globally using ``config`` function
@@ -229,6 +230,6 @@ Please send bug reports and feature requests through [github issue tracker](http
229230

230231
## License
231232

232-
Copyright Tian Gao, 2020.
233+
Copyright Tian Gao, 2020-2021.
233234

234235
Distributed under the terms of the [Apache 2.0 license](https://github.com/gaogaotiantian/objprint/blob/master/LICENSE).

src/objprint/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
22
# For details: https://github.com/gaogaotiantian/objprint/blob/master/NOTICE.txt
33

4-
__version__ = "0.1.3"
4+
__version__ = "0.1.4"
55

66

77
from .objprint import ObjPrint

0 commit comments

Comments
 (0)