Skip to content

Commit 826292c

Browse files
committed
add input and output type into ppds.normalize function
1 parent 35380df commit 826292c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

cupshelpers/ppds.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,9 @@ def normalize (strin):
268268
- Epson PM A820 -> epson pm a 820
269269
- HP PhotoSmart C 8100 -> hp photosmart c 8100
270270
- hp Photosmart C8100 -> hp photosmart c 8100
271+
272+
@type strin: string that can be the make or the model
273+
@return: a normalized lowercase string in which punctuations have been replaced with spaces.
271274
"""
272275
lstrin = strin.strip ().lower ()
273276
normalized = ""

0 commit comments

Comments
 (0)