Enter this in a Python file:

```
import os
os.path.list[press tab]
```

Tab shows listdir! I knew listdir() was in one of those modules... only problem 
is, run it and you will find the autocomplete was wrong, there is no such thing 
as os.path.listdir, it is os.listdir, in Python2 and 3.

So the autocomplete is actually steering you wrong here, and trusting it may 
make code that doesn't run.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1306

Reply via email to