Skip to content

Commit d2c97d6

Browse files
committed
add NEWS and compat annotations
1 parent 354194a commit d2c97d6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

NEWS.md

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ Standard library changes
4747

4848
* Verbose `display` of `Char` (`text/plain` output) now shows the codepoint value in standard-conforming `"U+XXXX"` format ([#33291]).
4949

50+
* `methods` now accepts passing a module (or a list thereof) to filter methods defined in it ([#33403]).
5051

5152
#### Libdl
5253

base/reflection.jl

+3
Original file line numberDiff line numberDiff line change
@@ -867,6 +867,9 @@ Return the method table for `f`.
867867
If `types` is specified, return an array of methods whose types match.
868868
If `module` is specified, return an array of methods defined in this module.
869869
A list of modules can also be specified as an array or tuple.
870+
871+
!!! compat "Julia 1.4"
872+
At least Julia 1.4 is required for specifying a module.
870873
"""
871874
function methods(@nospecialize(f), @nospecialize(t),
872875
@nospecialize(mod::Union{Module,AbstractArray{Module},Tuple{Vararg{Module}}}=()))

0 commit comments

Comments
 (0)