Browse Source

cpdef variables -> cdef

  warning: src/borg/item.pyx:199:10: cpdef variables will not be supported in Cython 3; currently they are no different from cdef variables

  warning: src/borg/item.pyx:200:10: cpdef variables will not be supported in Cython 3; currently they are no different from cdef variables

  warning: src/borg/item.pyx:202:10: cpdef variables will not be supported in Cython 3; currently they are no different from cdef variables
Thomas Waldmann 2 years ago
parent
commit
fd5019a7b2
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/borg/item.pyx

+ 3 - 3
src/borg/item.pyx

@@ -196,10 +196,10 @@ cdef class PropDict:
 
 cdef class PropDictProperty:
     """return a property that deals with self._dict[key] of  PropDict"""
-    cpdef readonly str key
-    cpdef readonly object value_type
+    cdef readonly str key
+    cdef readonly object value_type
     cdef str value_type_name
-    cpdef readonly str __doc__
+    cdef readonly str __doc__
     cdef object encode
     cdef object decode
     cdef str type_error_msg