diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index e0b18e968b6..1b54a70be85 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -10871,7 +10871,7 @@
Initialise the stream used to list all files and directories using the [method get_next] function, closing the current opened stream if needed. Once the stream has been processed, it should typically be closed with [method list_dir_end].
- Return false if the stream could not be initialised.
+ Return true if the stream could not be initialised.