|
34 | 34 | |
35 | 35 | __copyright__ = "2014-2025, Patrick Lehmann, Unai Martinez-Corral" |
36 | 36 | __license__ = "Apache License, Version 2.0" |
37 | | -__version__ = "0.5.1" |
| 37 | +__version__ = "0.6.0" |
38 | 38 | __keywords__ = ["eda project", "model", "abstract", "xilinx", "vivado", "osvvm", "file set", "file group", "test bench", "test harness"] |
39 | 39 |
|
40 | 40 | from os.path import relpath as path_relpath |
@@ -166,7 +166,11 @@ def FileType(self) -> 'FileType': |
166 | 166 |
|
167 | 167 | @property |
168 | 168 | def Path(self) -> pathlib_Path: |
169 | | - """Read-only property returning the path of this file.""" |
| 169 | + """ |
| 170 | + Read-only property to access the path to the file. |
| 171 | +
|
| 172 | + :returns: The file's path. |
| 173 | + """ |
170 | 174 | return self._path |
171 | 175 |
|
172 | 176 | # TODO: setter? |
@@ -251,7 +255,7 @@ def __len__(self) -> int: |
251 | 255 | """ |
252 | 256 | Returns number of attributes set on this file. |
253 | 257 |
|
254 | | - :returns: The number if attributes set on this file. |
| 258 | + :returns: The number of attributes set on this file. |
255 | 259 | """ |
256 | 260 | return len(self._attributes) |
257 | 261 |
|
@@ -1069,7 +1073,7 @@ def __len__(self) -> int: |
1069 | 1073 | """ |
1070 | 1074 | Returns number of attributes set on this fileset. |
1071 | 1075 |
|
1072 | | - :returns: The number if attributes set on this fileset. |
| 1076 | + :returns: The number of attributes set on this fileset. |
1073 | 1077 | """ |
1074 | 1078 | return len(self._attributes) |
1075 | 1079 |
|
@@ -1271,7 +1275,7 @@ def __len__(self) -> int: |
1271 | 1275 | """ |
1272 | 1276 | Returns number of attributes set on this VHDL library. |
1273 | 1277 |
|
1274 | | - :returns: The number if attributes set on this VHDL library. |
| 1278 | + :returns: The number of attributes set on this VHDL library. |
1275 | 1279 | """ |
1276 | 1280 | return len(self._attributes) |
1277 | 1281 |
|
@@ -1629,7 +1633,7 @@ def __len__(self) -> int: |
1629 | 1633 | """ |
1630 | 1634 | Returns number of attributes set on this design. |
1631 | 1635 |
|
1632 | | - :returns: The number if attributes set on this design. |
| 1636 | + :returns: The number of attributes set on this design. |
1633 | 1637 | """ |
1634 | 1638 | return len(self._attributes) |
1635 | 1639 |
|
@@ -1821,7 +1825,7 @@ def __len__(self) -> int: |
1821 | 1825 | """ |
1822 | 1826 | Returns number of attributes set on this project. |
1823 | 1827 |
|
1824 | | - :returns: The number if attributes set on this project. |
| 1828 | + :returns: The number of attributes set on this project. |
1825 | 1829 | """ |
1826 | 1830 | return len(self._attributes) |
1827 | 1831 |
|
|
0 commit comments