diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index b949fde8a4c..738bd635b34 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -32332,7 +32332,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].