Your IP : 216.73.216.213


Current Path : /opt/alt/python37/lib/python3.7/site-packages/pyflakes/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib/python3.7/site-packages/pyflakes/__pycache__/messages.cpython-37.opt-1.pyc

B

�xfX��@s�dZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGd	d
�d
e�ZGdd�de�ZGd
d�de�ZGdd�de�Z	Gdd�de�Z
Gdd�de�ZGdd�de�ZGdd�de�Z
Gdd�de�ZGdd�de�ZGdd�de�ZGdd �d e�ZGd!d"�d"e�ZGd#d$�d$e�ZGd%d&�d&e�ZGd'd(�d(e�ZGd)d*�d*e�ZGd+d,�d,e�ZGd-d.�d.e�ZGd/d0�d0e�ZGd1d2�d2e�ZGd3d4�d4e�ZGd5d6�d6e�ZGd7d8�d8e�Zd9S):z/
Provide the class Message and its subclasses.
c@s$eZdZdZdZdd�Zdd�ZdS)�Message��cCs ||_|j|_t|dd�|_dS)N�
col_offset�)�filename�lineno�getattr�col)�selfr�locrr�B/opt/alt/python37/lib/python3.7/site-packages/pyflakes/messages.py�__init__
szMessage.__init__cCsd|j|j|j|jfS)Nz	%s:%s: %s)rr�message�message_args)r
rrr�__str__s
zMessage.__str__N)�__name__�
__module__�__qualname__rrr
rrrrrrsrc@seZdZdZdd�ZdS)�UnusedImportz%r imported but unusedcCst�|||�|f|_dS)N)rr
r)r
rr�namerrrr
szUnusedImport.__init__N)rrrrr
rrrrrsrc@seZdZdZdd�ZdS)�RedefinedWhileUnusedz&redefinition of unused %r from line %rcCst�|||�||jf|_dS)N)rr
rr)r
rrr�orig_locrrrr
szRedefinedWhileUnused.__init__N)rrrrr
rrrrrsrc@seZdZdZdd�ZdS)�RedefinedInListCompz,list comprehension redefines %r from line %rcCst�|||�||jf|_dS)N)rr
rr)r
rrrrrrrr
'szRedefinedInListComp.__init__N)rrrrr
rrrrr$src@seZdZdZdd�ZdS)�ImportShadowedByLoopVarz0import %r from line %r shadowed by loop variablecCst�|||�||jf|_dS)N)rr
rr)r
rrrrrrrr
/sz ImportShadowedByLoopVar.__init__N)rrrrr
rrrrr,src@seZdZdZdd�ZdS)�ImportStarNotPermittedz/'from %s import *' only allowed at module levelcCst�|||�|f|_dS)N)rr
r)r
rr�modnamerrrr
7szImportStarNotPermitted.__init__N)rrrrr
rrrrr4src@seZdZdZdd�ZdS)�ImportStarUsedz9'from %s import *' used; unable to detect undefined namescCst�|||�|f|_dS)N)rr
r)r
rrrrrrr
?szImportStarUsed.__init__N)rrrrr
rrrrr<src@seZdZdZdd�ZdS)�ImportStarUsagez5%r may be undefined, or defined from star imports: %scCst�|||�||f|_dS)N)rr
r)r
rrr�	from_listrrrr
GszImportStarUsage.__init__N)rrrrr
rrrrrDsrc@seZdZdZdd�ZdS)�
UndefinedNamezundefined name %rcCst�|||�|f|_dS)N)rr
r)r
rrrrrrr
OszUndefinedName.__init__N)rrrrr
rrrrrLsrc@seZdZdZddd�ZdS)�DoctestSyntaxErrorzsyntax error in doctestNcCs(t�|||�|r|\|_|_d|_dS)Nr)rr
rr	r)r
rrZpositionrrrr
WszDoctestSyntaxError.__init__)N)rrrrr
rrrrr Tsr c@seZdZdZdd�ZdS)�UndefinedExportzundefined name %r in __all__cCst�|||�|f|_dS)N)rr
r)r
rrrrrrr
aszUndefinedExport.__init__N)rrrrr
rrrrr!^sr!c@seZdZdZdd�ZdS)�UndefinedLocalzVlocal variable %r (defined in enclosing scope on line %r) referenced before assignmentcCst�|||�||jf|_dS)N)rr
rr)r
rrrrrrrr
jszUndefinedLocal.__init__N)rrrrr
rrrrr"fsr"c@seZdZdZdd�ZdS)�DuplicateArgumentz,duplicate argument %r in function definitioncCst�|||�|f|_dS)N)rr
r)r
rrrrrrr
rszDuplicateArgument.__init__N)rrrrr
rrrrr#osr#c@seZdZdZdd�ZdS)�MultiValueRepeatedKeyLiteralz0dictionary key %r repeated with different valuescCst�|||�|f|_dS)N)rr
r)r
rr�keyrrrr
zsz%MultiValueRepeatedKeyLiteral.__init__N)rrrrr
rrrrr$wsr$c@seZdZdZdd�ZdS)�MultiValueRepeatedKeyVariablez9dictionary key variable %s repeated with different valuescCst�|||�|f|_dS)N)rr
r)r
rrr%rrrr
�sz&MultiValueRepeatedKeyVariable.__init__N)rrrrr
rrrrr&sr&c@seZdZdZdd�ZdS)�LateFutureImportz?from __future__ imports must occur at the beginning of the filecCst�|||�d|_dS)Nr)rr
r)r
rr�namesrrrr
�szLateFutureImport.__init__N)rrrrr
rrrrr'�sr'c@seZdZdZdZdd�ZdS)�FutureFeatureNotDefinedz2An undefined __future__ feature name was imported.z future feature %s is not definedcCst�|||�|f|_dS)N)rr
r)r
rrrrrrr
�sz FutureFeatureNotDefined.__init__N)rrr�__doc__rr
rrrrr)�sr)c@seZdZdZdZdd�ZdS)�UnusedVariablez^
    Indicates that a variable has been explicitly assigned to but not actually
    used.
    z/local variable %r is assigned to but never usedcCst�|||�|f|_dS)N)rr
r)r
rrr(rrrr
�szUnusedVariable.__init__N)rrrr*rr
rrrrr+�sr+c@seZdZdZdZdS)�ReturnWithArgsInsideGeneratorzI
    Indicates a return statement with arguments inside a generator.
    z''return' with argument inside generatorN)rrrr*rrrrrr,�sr,c@seZdZdZdZdS)�ReturnOutsideFunctionzD
    Indicates a return statement outside of a function/method.
    z'return' outside functionN)rrrr*rrrrrr-�sr-c@seZdZdZdZdS)�YieldOutsideFunctionzQ
    Indicates a yield or yield from statement outside of a function/method.
    z'yield' outside functionN)rrrr*rrrrrr.�sr.c@seZdZdZdZdS)�ContinueOutsideLoopzH
    Indicates a continue statement outside of a while or for loop.
    z'continue' not properly in loopN)rrrr*rrrrrr/�sr/c@seZdZdZdZdS)�BreakOutsideLoopzE
    Indicates a break statement outside of a while or for loop.
    z'break' outside loopN)rrrr*rrrrrr0�sr0c@seZdZdZdZdS)�ContinueInFinallyzS
    Indicates a continue statement in a finally block in a while or for loop.
    z0'continue' not supported inside 'finally' clauseN)rrrr*rrrrrr1�sr1c@seZdZdZdZdS)�DefaultExceptNotLastzG
    Indicates an except: block as not the last exception handler.
    zdefault 'except:' must be lastN)rrrr*rrrrrr2�sr2c@seZdZdZdZdS)�TwoStarredExpressionszK
    Two or more starred expressions in an assignment (a, *b, *c = d).
    z%two starred expressions in assignmentN)rrrr*rrrrrr3�sr3c@seZdZdZdZdS)�%TooManyExpressionsInStarredAssignmentzC
    Too many expressions in an assignment with star-unpacking
    z1too many expressions in star-unpacking assignmentN)rrrr*rrrrrr4�sr4c@seZdZdZdZdS)�AssertTuplez;
    Assertion test is a tuple, which are always True.
    z5assertion is always true, perhaps remove parentheses?N)rrrr*rrrrrr5�sr5N)r*�objectrrrrrrrrrr r!r"r#r$r&r'r)r+r,r-r.r/r0r1r2r3r4r5rrrr�<module>s8