Agent-Hellboy / Agent-Hellboy/pylibfinder

Resolve below comments from stackoverflow

未关闭
#8 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

(FWIW, looking through the code I don't see any point where you would filter for functions specifically to begin with.)

Erm, okay. Apparently that's because it actually doesn't. It just looks up names in modules, no matter the underlying type.

```py
>>> pylibfinder.find_similar('int', 0.9)
[{'Module': 'builtins', 'Function': 'int', 'Score': 1.0}]
>>> pylibfinder.find_similar('True', 0.9)
[{'Module': 'builtins', 'Function': 'True', 'Score': 1.0}]
```

I also seem to be getting duplicates. These are all the same object, and one of its aliases is reported twice.

```py
>>> pylibfinder.find_similar('pathsep', 0.9)
[{'Module': 'posixpath', 'Function': 'pathsep', 'Score': 1.0}, {'Module': 'posixpath', 'Function': 'pathsep', 'Score': 1.0}, {'Module': 'os', 'Function': 'pathsep', 'Score': 1.0}]
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。