di tipo

Decoratrici di controllo tipo formale
Scarica ora

di tipo Classifica e riepilogo

Annuncio pubblicitario

  • Rating:
  • Licenza:
  • Freeware
  • Prezzo:
  • FREE
  • Nome editore:
  • Krister Hedfors
  • Sito web dell'editore:
  • http://hedfors.se

di tipo Tag


di tipo Descrizione

Tipo formale Controllo dei decoratori Il pacchetto di TySTAFE offre un tipo formale di controllo dei tipi di controllo.Usage: da Tystafe Import * @Hard_types (nome = str (str (str, float)) def func_or_method (nome, etą): pass @hard_types (Dict (nome = str, etą = (int, float))) def func_or_method (nome, etą): passare il decoratore @hard_types () Decorator aumenta hardtypesException a meno che gli argomenti non siano del tipo o dei tipi specificati: @Hard_types (argname = tipo, ) @hard_types ( argname = tipi, ) Il decoratore @soft_types () aumenta il softtypesexception a meno che i tipi di argomenti corrispondano o sono sottotipi, del tipo o dei tipi specificati. @soft_types (argname = tipo, ) @soft_types (argname = tipi, ) Requisiti: · Python.


di tipo Software correlato

Dna.

Dencodes Il tuo programma Perl in una sequenza di acido nucleico ...

163

Scarica