From e02d1e143ff9b7a4115292af1fb137a1c7712185 Mon Sep 17 00:00:00 2001 From: rishucoding Date: Tue, 12 Jun 2018 15:20:56 +0530 Subject: [PATCH] adding docstring to translate function --- src/bsv/actual_pinmux.py | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.30.2