import-private-name / C2701#

Message emitted:

Imported private %s (%s)


Used when a private module or object prefixed with _ is imported. PEP8 guidance on Naming Conventions states that public attributes with leading underscores should be considered private.

Correct code:

# This is a placeholder for correct code for this message.

Additional details:

You can help us make the doc better by contributing !


This message is emitted by the optional 'import-private-name' checker which requires the pylint.extensions.private_import plugin to be loaded.

Created by the import-private-name checker.