Skip to content

Commit b017e45

Browse files
committed
Clarify conversion changelog entry
1 parent 5eca22e commit b017e45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
* The vast majority of these changes are breaking, see the [v1 Migration Guide](@ref) for how to upgrade.
55
* Changes to core functionality:
66
* Comparisons like `==(::Py, ::Py)`, `<(::Py, ::Number)`, `isless(::Number, ::Py)` now return `Bool` instead of `Py`.
7+
* Changes to conversion:
78
* `pyconvert` rules are now scoped by target type instead of prioritized; rules are ordered by Python type specificity and creation order.
8-
### Conversion
9-
* `pyconvert_add_rule` now has the signature `pyconvert_add_rule(func::Function, t::String, ::Type{T}, ::Type{S}=T)`; the optional scope `S` controls when a rule is considered during conversion.
9+
* `pyconvert_add_rule` now has the signature `pyconvert_add_rule(func::Function, t::String, ::Type{T}, ::Type{S}=T)`; the optional scope `S` controls when a rule is considered during conversion.
1010
* Changes to `PythonCall.GC` (now more like `Base.GC`):
1111
* `enable(true)` replaces `enable()`.
1212
* `enable(false)` replaces `disable()`.

0 commit comments

Comments
 (0)