davidhalter / davidhalter/jedi

Why does it suggest bools as methods?

Open
#1,806 2 comments 0 reactions 0 assignees View on GitHub
bug low-prio
Dominant language
Python
Stars
6.2k
Forks
535
PR merge metrics
No merged PRs in 30d

Description

I am noticing some behavior where I am seeing boolean values autocompleting with `()` at the end of them.

For example:
```
blah = False
```

Then, when I type:
```
if blah
```
the first suggestion is:
```
if blah()
```

When I hover over the `blah` variable it thinks it's a function:
![image](https://user-images.githubusercontent.com/49700518/136860899-b9903dab-30b4-4f53-912c-75dc14218607.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.