Skip to content

Commit ebc0fdc

Browse files
authored
fix(docstrings): add blank line before example (#5033)
* fixes #5032
1 parent 4faea93 commit ebc0fdc

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

cve_bin_tool/cve_scanner.py

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ def __init__(
6464

6565
def get_cves(self, product_info: ProductInfo, triage_data: TriageData):
6666
"""Get CVEs against a specific version of a product.
67+
6768
Example:
6869
nvd.get_cves('haxx', 'curl', '7.34.0')
6970
"""

cve_bin_tool/helper_script.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,9 @@ def search_version_string(self, matched_list: list[str]) -> list[str]:
214214
def parse_filename(self, filename: str) -> tuple[str, str]:
215215
"""
216216
returns package_name/product_name from package_filename of types .rpm, .deb, etc.
217-
Example: package_filename = openssh-client_8.4p1-5ubuntu1_amd64.deb
217+
218+
Example:
219+
package_filename = openssh-client_8.4p1-5ubuntu1_amd64.deb
218220
here, package_name = openssh-client
219221
"""
220222

0 commit comments

Comments
 (0)