allow_comments proprietà

allow_comments proprietà

Indica se è possibile allegare commenti.

Esempio


if s.allow_comments:
    pass

Definizione:

@property
def allow_comments(self):
    ...
@allow_comments.setter
def allow_comments(self, value):
    ...

Guarda anche