Skip to content

Commit 61944c4

Browse files
committed
doc: Fixed defaultvalue name in docstrings
1 parent dc3d1ba commit 61944c4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

kivy/properties.pyx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ cdef class NumericProperty(Property):
464464
'''Property that represents a numeric value.
465465
466466
:Parameters:
467-
`default`: int or float, defaults to 0
467+
`defaultvalue`: int or float, defaults to 0
468468
Specifies the default value of the property.
469469
470470
>>> wid = Widget()
@@ -541,7 +541,7 @@ cdef class StringProperty(Property):
541541
'''Property that represents a string value.
542542
543543
:Parameters:
544-
`default`: string, defaults to ''
544+
`defaultvalue`: string, defaults to ''
545545
Specifies the default value of the property.
546546
547547
'''
@@ -629,7 +629,7 @@ cdef class ListProperty(Property):
629629
'''Property that represents a list.
630630
631631
:Parameters:
632-
`default`: list, defaults to []
632+
`defaultvalue`: list, defaults to []
633633
Specifies the default value of the property.
634634
635635
.. warning::
@@ -741,7 +741,7 @@ cdef class DictProperty(Property):
741741
'''Property that represents a dict.
742742
743743
:Parameters:
744-
`default`: dict, defaults to None
744+
`defaultvalue`: dict, defaults to None
745745
Specifies the default value of the property.
746746
`rebind`: bool, defaults to False
747747
See :class:`ObjectProperty` for details.
@@ -783,7 +783,7 @@ cdef class ObjectProperty(Property):
783783
'''Property that represents a Python object.
784784
785785
:Parameters:
786-
`default`: object type
786+
`defaultvalue`: object type
787787
Specifies the default value of the property.
788788
`rebind`: bool, defaults to False
789789
Whether kv rules using this object as an intermediate attribute
@@ -841,7 +841,7 @@ cdef class BooleanProperty(Property):
841841
'''Property that represents only a boolean value.
842842
843843
:Parameters:
844-
`default`: boolean
844+
`defaultvalue`: boolean
845845
Specifies the default value of the property.
846846
'''
847847

0 commit comments

Comments
 (0)