类似于grep,但搜索docstrings中的匹配项。
项目描述
类似于grep,但只在Python代码中的docstrings中搜索。
安装
从pip
$ pip install --upgrade docgrep
示例
$ docgrep 'Python 3.4' .
./asyncio/futures.py:113: """This class is *almost* compatible with concurrent.futures.Future.
Differences:
- result() and exception() do not take a timeout argument and
raise an exception when the future isn't done yet.
- Callbacks registered with add_done_callback() are always called
via the event loop's call_soon_threadsafe().
- This class is not compatible with the wait() and as_completed()
methods in the concurrent.futures package.
(In Python 3.4 or later we may be able to unify the implementations.)
"""
项目详情
关闭
docgrep-0.2.tar.gz的哈希值
| 算法 | 哈希摘要 | |
|---|---|---|
| SHA256 | 0942dc016d89f0fdd7994a57782b8b7a76b86ffc4ea31a9f87c328fd05c45deb |
|
| MD5 | c120523c5c1b99a29175c2eb034f6f8f |
|
| BLAKE2b-256 | 00dbcb159062989621dbe3e38296ddd0ed19ab3439a25452c6df98ea5dcdb048 |