Skip to content

Commit b273dc9

Browse files
authored
docs(python): dict_from_<type>
Suggested-by: Gregory Lee <grlee77@gmail.com>
1 parent 51a93b5 commit b273dc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/python/itk_python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ itk_image = itk.image_from_dict(image_dict)
2020

2121
## Convert from `itk` to `itkwasm`
2222

23-
To convert from a native `itk` Python type to an `itkwasm` dataclass interface type, first convert the `itkwasm` type to a dictionary the `itk.<type>_from_dict`, then pass the dictionary as keyword arguments to `itkwasm` constructor with the `**` operator. Example:
23+
To convert from a native `itk` Python type to an `itkwasm` dataclass interface type, first convert the `itkwasm` type to a dictionary the `itk.dict_from_<type>`, then pass the dictionary as keyword arguments to `itkwasm` constructor with the `**` operator. Example:
2424

2525

2626
```python

0 commit comments

Comments
 (0)