Update README.md

This commit is contained in:
James
2023-08-22 02:46:07 +12:00
committed by GitHub
parent 05cd4955b9
commit 1e77e8d9af

View File

@@ -761,7 +761,7 @@ First we can create an object that will hold the data we want for each item in t
```python
class Fruit(GObject.Object):
name = GObject.Property(type=str)
name = GObject.Property(type=str, default="")
def __init__(self, name):
super().__init__()
```