diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index d1ae66c02c7..ff3173109fd 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -36778,7 +36778,7 @@
- Poll the load. If OK is returned, this means poll will have to be called again. If ERR_EOF is returned, them the load has finished and the resource can be obtained by calling [method get_resource].
+ Poll the load. If OK is returned, this means poll will have to be called again. If ERR_FILE_EOF is returned, them the load has finished and the resource can be obtained by calling [method get_resource].