[DOC] Fix invalid documentation for reachable_objects_from (#10172)

Previous documentation is stating the opposite (that the method won't
work for CRuby).
This commit is contained in:
Lazarus Lazaridis 2024-03-04 18:35:51 +02:00 committed by GitHub
parent 85fe8b6b9c
commit 61ea202f8b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -623,7 +623,7 @@ collect_values(st_data_t key, st_data_t value, st_data_t data)
*
* With this method, you can find memory leaks.
*
* This method is only expected to work except with C Ruby.
* This method is only expected to work with C Ruby.
*
* Example:
* ObjectSpace.reachable_objects_from(['a', 'b', 'c'])