Skip to content

Commit c1aa928

Browse files
author
renzon
committed
Adicionando Exceção
1 parent a12773f commit c1aa928

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

atores.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# -*- coding: utf-8 -*-
22

33
from __future__ import unicode_literals
4+
45
import math
56

67
DESTRUIDO = 'Destruido'
@@ -63,6 +64,10 @@ class Porco(Ator):
6364
pass
6465

6566

67+
class DuploLancamentoExcecao(Exception):
68+
pass
69+
70+
6671
class Passaro(Ator):
6772
velocidade_escalar = 10
6873

0 commit comments

Comments
 (0)