Преглед на файлове

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 години
родител
ревизия
fd5019a7b2
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  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