Sntax error

This commit is contained in:
Gijs 2021-05-08 17:07:12 +02:00
parent b82ccbf909
commit ba5d0d87b1
2 changed files with 4 additions and 7 deletions

View File

@ -1,6 +1,2 @@
#!/usr/bin/env python3
from . import utils
from . import patterns
from . import marks
from . import text

View File

@ -8,12 +8,13 @@ def random (marks=ascii_letters):
return func
def sentence (text):
def sentence (mark_text):
"""Deprecated. Use text."""
return text(mark_text)
def text (text):
def text (mark_text):
"""Loops through provided text."""
chars = list(text)
chars = list(mark_text)
def f():
char = chars.pop(0)
chars.append(char)