Browse Source

Sntax error

master
Gijs 3 years ago
parent
commit
ba5d0d87b1
  1. 4
      asciiWriter/__init__.py
  2. 7
      asciiWriter/marks.py

4
asciiWriter/__init__.py

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

7
asciiWriter/marks.py

@ -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)

Loading…
Cancel
Save