Method
copy
(
self,
/,
*,
converter: CConverter | None = None,
function: Function | None = None,
**overrides: Any
)
Source from the content-addressed store, hash-verified
| 236 | return not self.is_vararg() and (self.default is not unspecified) |
| 237 | |
| 238 | def copy( |
| 239 | self, |
| 240 | /, |
| 241 | *, |
| 242 | converter: CConverter | None = None, |
| 243 | function: Function | None = None, |
| 244 | **overrides: Any |
| 245 | ) -> Parameter: |
| 246 | function = function or self.function |
| 247 | if not converter: |
| 248 | converter = copy.copy(self.converter) |
| 249 | converter.function = function |
| 250 | return dc.replace(self, **overrides, function=function, converter=converter) |
| 251 | |
| 252 | def get_displayname(self, i: int) -> str: |
| 253 | if i == 0: |
Callers
nothing calls this directly
Tested by
no test coverage detected