fixed typo
This commit is contained in:
@@ -50,7 +50,8 @@ A few motivating examples (a more exhaustive list can be found in the ``test`` d
|
||||
# => {"k": [1, [3], 3]} (will create a copy of the data)
|
||||
|
||||
manipulator.set([{"k": "v"},
|
||||
{"k": {
|
||||
{
|
||||
"k": {
|
||||
"a": [{"k": 10}, {"k": 11}]
|
||||
}
|
||||
}], ".k #1 #a .k", 100)
|
||||
@@ -59,8 +60,9 @@ A few motivating examples (a more exhaustive list can be found in the ``test`` d
|
||||
manipulator.update({"k": [1, [2], 3]}, "#k #1 #0", lambda x: x-1)
|
||||
# => {"k": [1, [1], 3]} (in place, use in_place=False to copy)
|
||||
|
||||
manipulator.set([{"k": "v"},
|
||||
{"k": {
|
||||
manipulator.update([{"k": "v"},
|
||||
{
|
||||
"k": {
|
||||
"a": [{"k": 10}, {"k": 11}]
|
||||
}
|
||||
}], ".k #1 #a .k", lambda x: x+1)
|
||||
|
Reference in New Issue
Block a user