Skip to content

Commit 60b86a2

Browse files
authored
Update cap08.adoc
1 parent 282d873 commit 60b86a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vol1/cap08.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ Success: no issues found in 1 source file
247247

248248
Agora acrescento apenas o tipo do retorno a `show_count` em _messages.py_:
249249

250-
[source]
250+
[source, python]
251251
----
252252
def show_count(count, word) -> str:
253253
----
@@ -268,7 +268,7 @@ Agora posso gradualmente acrescentar dicas de tipo, função por função,
268268
sem receber avisos sobre as funções onde ainda não adicionei anotações
269269
Essa é uma assinatura completamente anotada que satisfaz o Mypy:
270270

271-
[source, py]
271+
[source, python]
272272
----
273273
def show_count(count: int, word: str) -> str:
274274
----

0 commit comments

Comments
 (0)