<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2015-04-17 16:58 GMT+01:00 Enrico Bianchi <span dir="ltr"><<a href="mailto:enrico.bianchi@ymail.com" target="_blank">enrico.bianchi@ymail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":16y" class="" style="overflow:hidden">Intendi i type hints? Perche`?</div></blockquote></div><br>Vedi qualcosa che non va in questo codice?</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">In [4]: def add(x, y):</div><div class="gmail_extra"> ...: if type(x) == int and type(y) == int:</div><div class="gmail_extra"> ...: return x + y</div><div class="gmail_extra"> ...: raise TypeError</div><div><br></div>-- <br><div class="gmail_signature"> .<br>..: -enrico-</div>
</div></div>