Create a PythonModule. Do not construct this directly, instead inspect a PythonPath or other PythonModule instances. @param name: see ivar @param filePath: see ivar @param pathEntry: see ivar
(
self, name: str, filePath: FilePath[str], pathEntry: PathEntry
)
| 310 | """ |
| 311 | |
| 312 | def __init__( |
| 313 | self, name: str, filePath: FilePath[str], pathEntry: PathEntry |
| 314 | ) -> None: |
| 315 | """ |
| 316 | Create a PythonModule. Do not construct this directly, instead inspect a |
| 317 | PythonPath or other PythonModule instances. |
| 318 | |
| 319 | @param name: see ivar |
| 320 | @param filePath: see ivar |
| 321 | @param pathEntry: see ivar |
| 322 | """ |
| 323 | _name = nativeString(name) |
| 324 | assert not _name.endswith(".__init__") |
| 325 | self.name: str = _name |
| 326 | self.filePath = filePath |
| 327 | self.parentPath = filePath.parent() |
| 328 | self.pathEntry = pathEntry |
| 329 | |
| 330 | def _getEntry(self): |
| 331 | return self.pathEntry |
nothing calls this directly
no test coverage detected