added credits to petbox examples

This commit is contained in:
Luciano Ramalho
2021-05-20 23:13:16 -03:00
parent 14e1758bf7
commit eb8982f924
2 changed files with 11 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
"""
Example adapted from `Atomic Kotlin` by Bruce Eckel & Svetlana Isakova,
chapter `Creating Generics`, section `Variance`.
"""
from typing import TypeVar, Generic, Any from typing import TypeVar, Generic, Any

View File

@@ -1,3 +1,8 @@
"""
Example adapted from `Atomic Kotlin` by Bruce Eckel & Svetlana Isakova,
chapter `Creating Generics`, section `Variance`.
"""
from typing import TYPE_CHECKING from typing import TYPE_CHECKING
from petbox import * from petbox import *