mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 10:49:54 +00:00
chore: update docs/scripts
This commit is contained in:
parent
b1a3e97334
commit
8495bd3570
3 changed files with 6 additions and 23 deletions
|
@ -11,12 +11,3 @@ path_join = os.path.join
|
|||
|
||||
def str_slice(str: str, first_index: int):
|
||||
return str[first_index:]
|
||||
|
||||
|
||||
def eliminate_none_on_match(matched: re.Match):
|
||||
class _a:
|
||||
def __init__(self):
|
||||
self.matched = matched
|
||||
self.is_none = True if matched is None else False
|
||||
|
||||
return _a()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue