File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5252__email__ = "Paebbels@gmail.com"
5353__copyright__ = "2021-2026, Patrick Lehmann"
5454__license__ = "Apache License, Version 2.0"
55- __version__ = "0.5.5 "
55+ __version__ = "0.5.6 "
5656
5757
5858@export
@@ -114,7 +114,7 @@ class SystemVerilogVersion(Enum):
114114 "Latest" : Latest
115115 } #: Dictionary of (System)Verilog year codes variants as integer and strings for mapping to unique enum values.
116116
117- def __init__ (self , * _ ):
117+ def __init__ (self , * _ ) -> None :
118118 """Patch the embedded MAP dictionary"""
119119 for k , v in self .__class__ .__VERSION_MAPPINGS__ .items ():
120120 if (not isinstance (v , self .__class__ )) and (v == self .value ):
@@ -237,7 +237,7 @@ def __str__(self) -> str:
237237 """
238238 Formats the SystemVerilog version to pattern ``SV'xx`` or in case of classic Verilog to ``Verilog'xx``.
239239
240- :return : Formatted (System)Verilog version.
240+ :returns : Formatted (System)Verilog version.
241241 """
242242 if self .value == self .Any .value :
243243 return "SV'Any"
@@ -254,7 +254,7 @@ def __repr__(self) -> str:
254254 """
255255 Formats the (System)Verilog version to pattern ``xxxx``.
256256
257- :return : Formatted (System)Verilog version.
257+ :returns : Formatted (System)Verilog version.
258258 """
259259 if self .value == self .Any .value :
260260 return "Any"
You can’t perform that action at this time.
0 commit comments