[Bug #18487] [DOC] Remove stale note in set_trace_func document

`c-call` and `c-return events no longer pass the nearest Ruby method
binding.
This commit is contained in:
Nobuyoshi Nakada 2023-09-04 10:30:57 +09:00
parent ba8a7ab8a8
commit 2ac3e9abe9
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465
Notes: git 2023-09-04 01:42:15 +00:00

View File

@ -569,10 +569,6 @@ static void call_trace_func(rb_event_flag_t, VALUE data, VALUE self, ID id, VALU
* line prog.rb:3 :test Test * line prog.rb:3 :test Test
* line prog.rb:4 :test Test * line prog.rb:4 :test Test
* return prog.rb:5 :test Test * return prog.rb:5 :test Test
*
* Note that for +c-call+ and +c-return+ events, the binding returned is the
* binding of the nearest Ruby method calling the C method, since C methods
* themselves do not have bindings.
*/ */
static VALUE static VALUE