mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 09:21:13 +08:00
refactor: Indent ... for visual purposes (#7744)
This commit is contained in:

committed by
GitHub

parent
e8915097c4
commit
9bba42eca8
@ -9,11 +9,11 @@ The function below will convert any binary string to the octal equivalent.
|
||||
|
||||
>>> bin_to_octal("")
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
...
|
||||
ValueError: Empty string was passed to the function
|
||||
>>> bin_to_octal("a-1")
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
...
|
||||
ValueError: Non-binary value was passed to the function
|
||||
"""
|
||||
|
||||
|
Reference in New Issue
Block a user