You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ For future plans, see our [Python language version support status](https://githu
21
21
22
22
- Robustness: several auxiliary syntactic constructs such as `local[]`/`delete[]` (for `do[]`), `call_cc[]` (for `with continuations`), `it` (for `aif[]`), `with expr`/`with block` (for `let_syntax`/`abbrev`), and `q`/`u`/`kw` (for `prefix`) now detect *at macro expansion time* if they appear outside any valid lexical context, and raise `SyntaxError` (with a descriptive message) if so. That is, the error is now raised *at compile time*. Previously these constructs could only raise an error at run time, and not all of them could detect the error even then.
23
23
24
-
-`unpythonic.dispatch.generic_for`: add methods to a generic function defined elsewhere.
24
+
-`unpythonic.dispatch.generic_addmethod`: add methods to a generic function defined elsewhere.
Copy file name to clipboardExpand all lines: doc/features.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2986,7 +2986,7 @@ The core idea can be expressed in fewer than 100 lines of Python; ours is (as of
2986
2986
2987
2987
**Changed in v0.14.3**. *The `@generic`and`@typed` decorators can now decorate also instance methods, class methods and static methods (beside regular functions, as previously in0.14.2).*
2988
2988
2989
-
**Changed in v0.15.0**. *The `dispatch`and`typecheck` modules providing this functionality are now considered stable (no longer experimental). Added the `@generic_for` parametric decorator that can register a new method on an existing generic function originally defined in another lexical scope.*
2989
+
**Changed in v0.15.0**. *The `dispatch`and`typecheck` modules providing this functionality are now considered stable (no longer experimental). Added the `@generic_addmethod` parametric decorator that can register a new method on an existing generic function originally defined in another lexical scope.*
0 commit comments