diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-06-17 23:12:36 +0200 |
---|---|---|
committer | Unai Martinez-Corral <38422348+umarcor@users.noreply.github.com> | 2021-06-17 22:53:27 +0100 |
commit | 0c726ac36be1ad1cba24eb7eff476b9a32e643fb (patch) | |
tree | 524d81d4df412cca136b766305506574b34bf15e /pyGHDL/libghdl/vhdl/lists.py | |
parent | e5891f3900f5e58df37d32c2c18a0f339c094cf4 (diff) | |
download | ghdl-0c726ac36be1ad1cba24eb7eff476b9a32e643fb.tar.gz ghdl-0c726ac36be1ad1cba24eb7eff476b9a32e643fb.tar.bz2 ghdl-0c726ac36be1ad1cba24eb7eff476b9a32e643fb.zip |
Black found more files - strange.
Executed black to make code unreadable.
(cherry picked from commit 1b34c2368428b1ec295073ee47d201ac1def35f6)
Diffstat (limited to 'pyGHDL/libghdl/vhdl/lists.py')
-rw-r--r-- | pyGHDL/libghdl/vhdl/lists.py | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/pyGHDL/libghdl/vhdl/lists.py b/pyGHDL/libghdl/vhdl/lists.py index 1499c4dca..d9e4fda6c 100644 --- a/pyGHDL/libghdl/vhdl/lists.py +++ b/pyGHDL/libghdl/vhdl/lists.py @@ -42,11 +42,7 @@ from pyGHDL.libghdl._decorator import BindToLibGHDL @export class Iterator(Structure): - _fields_ = [ - ("chunk", c_int32), - ("chunk_idx", c_int32), - ("remain", c_int32) - ] + _fields_ = [("chunk", c_int32), ("chunk_idx", c_int32), ("remain", c_int32)] @export @@ -71,7 +67,7 @@ def Iterate(List: int) -> Iterator: @export -#@BindToLibGHDL("vhdl__lists__is_valid") +# @BindToLibGHDL("vhdl__lists__is_valid") def Is_Valid(it: Iterator) -> bool: """ Check if iterator reached the end. @@ -87,7 +83,7 @@ def Is_Valid(it: Iterator) -> bool: @export -#@BindToLibGHDL("vhdl__lists__next") +# @BindToLibGHDL("vhdl__lists__next") def Next(it: Iterator) -> bool: """ Move iterator to the next element. @@ -103,7 +99,7 @@ def Next(it: Iterator) -> bool: @export -#@BindToLibGHDL("vhdl__lists__get_element") +# @BindToLibGHDL("vhdl__lists__get_element") def Get_Element(it: Iterator) -> int: """ Get the current element from iterator. |