Skip to content

Commit a4cd2ea

Browse files
committed
cleanup
1 parent 5960e73 commit a4cd2ea

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pydifact/syntax/common.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,11 @@ def is_edifact_alphanum(s: str) -> bool:
2727
"""Returns True if str contains only alphanumeric characters in the sense of
2828
EDIFACT.
2929
30-
The set method is extremely fast, which takes precedence here over having
31-
"exotic" chars like
30+
See https://service.gefeg.com/jwg1/Files/V41-9735-1.pdf - page 11
3231
"""
33-
# https://service.gefeg.com/jwg1/Files/V41-9735-1.pdf - page 11
3432
return all(
3533
c.isalnum() or (c.isascii() and c.isprintable() and not c.isalnum()) for c in s
3634
)
37-
# return all(c in allowed_alphanum_chars for c in s)
3835

3936

4037
def assert_a(s, length, message=""):

0 commit comments

Comments
 (0)