__init__ constructor
Leave feedback
On this page
Initializes a new instance of the XmpRational class.
def __init__(self, numerator, denominator):
...
| Parameter | Type | Description |
|---|---|---|
| numerator | int |
The numerator. |
| denominator | int |
The denominator. |
Initializes a new instance of the XmpBoolean class.
def __init__(self, value):
...
| Parameter | Type | Description |
|---|---|---|
| value | str |
The value. |
| Raises | Description |
|---|---|
ValueError |
Invalid string value. |
- class
XmpRational
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.