File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4741,10 +4741,10 @@ def __getitem__(self, prop):
47414741 property is returned.
47424742
47434743 If prop is a nested property path string (e.g. 'foo[1].bar'),
4744- then a nested property is returned (e.g. obj['foo'][1] ['bar'])
4744+ then a nested property is returned (e.g. obj\\ ['foo'\\ ] \\ [1 \\ ] \\ ['bar'\\ ])
47454745
47464746 If prop is a path tuple (e.g. ('foo', 1, 'bar')), then a nested
4747- property is returned (e.g. obj['foo'][1] ['bar']).
4747+ property is returned (e.g. obj\\ ['foo'\\ ] \\ [1 \\ ] \\ ['bar'\\ ]).
47484748
47494749 Returns
47504750 -------
@@ -4836,11 +4836,11 @@ def __contains__(self, prop):
48364836
48374837 If prop is a property path string (e.g. 'foo[0].bar'),
48384838 then return true if the obejct contains the nested elements for
4839- each entry in the path string (e.g. 'bar' in obj['foo'][0 ])
4839+ each entry in the path string (e.g. 'bar' in obj\\ ['foo'\\ ] \\ [0 \\ ])
48404840
48414841 If prop is a property path tuple (e.g. ('foo', 0, 'bar')),
48424842 then return true if the object contains the nested elements for
4843- each entry in the path string (e.g. 'bar' in obj['foo'][0 ])
4843+ each entry in the path string (e.g. 'bar' in obj\\ ['foo'\\ ] \\ [0 \\ ])
48444844
48454845 Returns
48464846 -------
You can’t perform that action at this time.
0 commit comments