From: rishucoding Date: Tue, 12 Jun 2018 09:50:56 +0000 (+0530) Subject: adding docstring to translate function X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e02d1e143ff9b7a4115292af1fb137a1c7712185;p=pinmux.git adding docstring to translate function --- diff --git a/src/bsv/actual_pinmux.py b/src/bsv/actual_pinmux.py index 6899172..28d2667 100644 --- 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)