Skip to content

Commit

Permalink
Make NormalizedName visible at runtime (#329)
Browse files Browse the repository at this point in the history
Co-authored-by: Pradyun Gedam <3275593+pradyunsg@users.noreply.github.com>
  • Loading branch information
sbidoul and pradyunsg committed Aug 6, 2020
1 parent 34ec49f commit eca30e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packaging/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
from typing import NewType, Union

NormalizedName = NewType("NormalizedName", str)
else:
NormalizedName = str

_canonicalize_regex = re.compile(r"[-_.]+")

Expand Down

0 comments on commit eca30e0

Please sign in to comment.