Skip to content

Commit 5e1926e

Browse files
authored
Add wildcard-import doc example (#6132)
Co-authored-by: Vladyslav Krylasov vladyslav.krylasov@gmail.com
1 parent 57319fa commit 5e1926e

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from abc import * # [wildcard-import]
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Either import module or
2+
# only import required objects from module.
3+
import abc
4+
from abc import ABC, abstractmethod

0 commit comments

Comments
 (0)