summaryrefslogtreecommitdiff
path: root/slugify/slugify.py
diff options
context:
space:
mode:
Diffstat (limited to 'slugify/slugify.py')
-rw-r--r--slugify/slugify.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/slugify/slugify.py b/slugify/slugify.py
index ae6c9b6..b8c02ad 100644
--- a/slugify/slugify.py
+++ b/slugify/slugify.py
@@ -1,6 +1,5 @@
import re
import sys
-import typing
import unicodedata
from html.entities import name2codepoint
@@ -67,8 +66,7 @@ def smart_truncate(string, max_length=0, word_boundary=False, separator=' ', sav
def slugify(text, entities=True, decimal=True, hexadecimal=True, max_length=0, word_boundary=False,
separator=DEFAULT_SEPARATOR, save_order=False, stopwords=(), regex_pattern=None, lowercase=True,
- replacements: typing.Iterable[typing.Iterable[str]] = (),
- allow_unicode=False):
+ replacements=(), allow_unicode=False):
"""
Make a slug from the given text.
:param text (str): initial text