summaryrefslogtreecommitdiff
path: root/doc/classes/Directory.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/Directory.xml')
-rw-r--r--doc/classes/Directory.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Directory.xml b/doc/classes/Directory.xml
index 91256359fb..883f3049e3 100644
--- a/doc/classes/Directory.xml
+++ b/doc/classes/Directory.xml
@@ -13,7 +13,7 @@
if dir.open(path) == OK:
dir.list_dir_begin()
var file_name = dir.get_next()
- while (file_name != ""):
+ while file_name != "":
if dir.current_is_dir():
print("Found directory: " + file_name)
else: