Skip to content

Commit

Permalink
Add wildcard-import doc example (#6132)
Browse files Browse the repository at this point in the history
Co-authored-by: Vladyslav Krylasov [email protected]
  • Loading branch information
jpy-git authored Apr 2, 2022
1 parent 57319fa commit 5e1926e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/data/messages/w/wildcard-import/bad.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from abc import * # [wildcard-import]
4 changes: 4 additions & 0 deletions doc/data/messages/w/wildcard-import/good.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Either import module or
# only import required objects from module.
import abc
from abc import ABC, abstractmethod

0 comments on commit 5e1926e

Please sign in to comment.