We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35380df commit 826292cCopy full SHA for 826292c
1 file changed
cupshelpers/ppds.py
@@ -268,6 +268,9 @@ def normalize (strin):
268
- Epson PM A820 -> epson pm a 820
269
- HP PhotoSmart C 8100 -> hp photosmart c 8100
270
- 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.
274
"""
275
lstrin = strin.strip ().lower ()
276
normalized = ""
0 commit comments