Removed some unnecessary information in docstrings.
This commit is contained in:
parent
ff4dffb06b
commit
1e1d319238
2 changed files with 0 additions and 8 deletions
|
@ -45,8 +45,6 @@ def example(): # just an example of this script
|
||||||
def asap(old: str, add: str, position: int):
|
def asap(old: str, add: str, position: int):
|
||||||
"""
|
"""
|
||||||
ASAP = Add String At Position
|
ASAP = Add String At Position
|
||||||
|
|
||||||
(0 is the first character.)
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
return old[:position] + add + old[position:]
|
return old[:position] + add + old[position:]
|
||||||
|
@ -55,8 +53,6 @@ def asap(old: str, add: str, position: int):
|
||||||
def rsap(old: str, replace: str, position: int):
|
def rsap(old: str, replace: str, position: int):
|
||||||
"""
|
"""
|
||||||
RSAP = Replace String At Position
|
RSAP = Replace String At Position
|
||||||
|
|
||||||
(0 is the first character.)
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
return old[:position] + replace + old[position + 1:]
|
return old[:position] + replace + old[position + 1:]
|
||||||
|
|
|
@ -19,10 +19,6 @@ _msg_types = { # message types with colors
|
||||||
|
|
||||||
|
|
||||||
class Log:
|
class Log:
|
||||||
"""
|
|
||||||
Using this class, you can easily write to logfiles.
|
|
||||||
"""
|
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
log_path: str | PathLike = None,
|
log_path: str | PathLike = None,
|
||||||
|
|
Loading…
Add table
Reference in a new issue