adding docstring to translate function
authorrishucoding <rishucoding@gmail.com>
Tue, 12 Jun 2018 09:50:56 +0000 (15:20 +0530)
committerrishucoding <rishucoding@gmail.com>
Tue, 12 Jun 2018 09:50:56 +0000 (15:20 +0530)
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)