Skip to content

Commit

Permalink
Updated README. [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocaccamo committed Oct 29, 2019
1 parent 60c06a0 commit 8c06d1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ del d['profile', 'lastname']

#### Custom keypath separator
You can customize the keypath separator passing the `keypath_separator` argument in the constructor.

If you pass an existing dict to the constructor and its keys contain the keypath separator an `Exception` will be raised.

```python
Expand All @@ -162,6 +163,7 @@ d = benedict(existing_dict, keypath_separator='/')

#### Change keypath separator
You can change the `keypath_separator` at any time using the `getter/setter` property.

If any existing key contains the new `keypath_separator` an `Exception` will be raised.

```python
Expand Down

0 comments on commit 8c06d1c

Please sign in to comment.