mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 09:21:13 +08:00
Remove useless code in doctests (#7733)
* refactor: Fix matrix display deprecation * refactor: Remove useless `print` and `pass` statements * revert: Replace broken doctests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * revert: Fix failing doctests * chore: Satisfy pre-commit Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:

committed by
GitHub

parent
501a1cf0c7
commit
61eedc16c3
@ -53,7 +53,7 @@ def complete_graph(vertices_number: int) -> dict:
|
||||
@input: vertices_number (number of vertices),
|
||||
directed (False if the graph is undirected, True otherwise)
|
||||
@example:
|
||||
>>> print(complete_graph(3))
|
||||
>>> complete_graph(3)
|
||||
{0: [1, 2], 1: [0, 2], 2: [0, 1]}
|
||||
"""
|
||||
return {
|
||||
|
Reference in New Issue
Block a user