Skip to content

Commit cc28208

Browse files
committed
Tweak docs.
1 parent 15e4def commit cc28208

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
**Features**
1515

1616
- Added the `JSONPointer` class and methods for converting a `JSONPathMatch` to a `JSONPointer`.
17-
- Added filter expression caching. Controlled with the `filter_caching` argument to `JSONPathEnvironment`, filter expression caching is enabled by default. See [#14](https://github.com/jg-rp/python-jsonpath/pull/14).
18-
- Added `jsonpath.resolve()`, a convenience function for resolving a [JSON Pointer](https://datatracker.ietf.org/doc/html/rfc6901).
17+
- Added `jsonpath.pointer.resolve()`, a function for resolving a [JSON Pointer](https://datatracker.ietf.org/doc/html/rfc6901).
1918
- Added `jsonpath.match()`, a convenience function returning a `JSONPathMatch` instance for the first match of a path, or `None` if there were no matches.
19+
- Added filter expression caching. Controlled with the `filter_caching` argument to `JSONPathEnvironment`, filter expression caching is enabled by default. See [#14]
2020
- All selectors now use `env.match_class` to instantiate new `JSONPathMatch` objects. This allows for subclassing of `JSONPathMatch`.
2121
- Added `jsonpath.filter.walk()` for the benefit of filter expression static analysis.
2222

‎jsonpath/filter.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def evaluate(self, context: FilterContext) -> object:
4242
4343
Arguments:
4444
context: Contextual information the expression might choose
45-
use during evaluation.
45+
use during evaluation.
4646
4747
Returns:
4848
The result of evaluating the expression.

0 commit comments

Comments
 (0)