adding docstring to translate function
[pinmux.git] / src / bsv / actual_pinmux.py
index 6899172189883eb0cdca7baa1ebadbdc8c714662..28d266738082388c4ae4f47ba259a80d89eeb4a8 100644 (file)
@@ -28,6 +28,8 @@ def cn(idx): # idx is an integer
 
 
 def transfn(temp):
+    """ removes the number from the string of signal name.
+    """
     temp = temp.split('_')
     if len(temp) == 2:
         temp[0] = temp[0].translate(digits)