Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 333 Bytes

import-self.md

File metadata and controls

16 lines (9 loc) · 333 Bytes

Pattern: Module is importing itself

Issue: -

Description

A module should not import itself. So for example, if the module is named test_import_self you cannot import it as follows:

import test_import_self

Further Reading