projects
/
pinmux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
adding docstring to translate function
[pinmux.git]
/
src
/
bsv
/
actual_pinmux.py
diff --git
a/src/bsv/actual_pinmux.py
b/src/bsv/actual_pinmux.py
index 6899172189883eb0cdca7baa1ebadbdc8c714662..28d266738082388c4ae4f47ba259a80d89eeb4a8 100644
(file)
--- a/
src/bsv/actual_pinmux.py
+++ b/
src/bsv/actual_pinmux.py
@@
-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)