Skip to content

Two small typos in Wiki / Types of Boxes #234

@schorfma

Description

@schorfma

Hello,


I noticed two small typos on the Wiki page Types of Boxes:

Types of Boxes / Box Dots

Support for traversing box lists as well!

my_box = Box({'data': [ {'rabbit': 'hole'} ] }, box_dots=True)
print(data.data[0].rabbit)
# hole

To change

my_box = Box({'data': [ {'rabbit': 'hole'} ] }, box_dots=True)
- print(data.data[0].rabbit)
+ print(my_box.data[0].rabbit)
# hole

Types of Boxes / Box Recast Values

If it cannot be converted, it will raise a BoxValueError (catachable with either BoxError or ValueError as well)

To change

- If it cannot be converted, it will raise a `BoxValueError` (catachable with either `BoxError` or `ValueError` as well)
+ If it cannot be converted, it will raise a `BoxValueError` (catchable with either `BoxError` or `ValueError` as well)

Thank you for your work on the Box library and kind regards
Martin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions