
    G@d                        d Z ddlmZ  ed                                          dd ed                                          ddd ed                                          dd ed	                                          ddd
 ed                                          dd ed                                          ddd ed                                          dd ed                                          ddd ed                                          dd ed                                          ddd ed                                          dd ed                                          ddd ed                                          dd ed                                          dd ed                                          ddd ed          dd ed                                          dd ed                                          dd ed                                          dddd  ed!                                          ddi ed"                                          d#d ed$                                          d#d ed%                                          d#dd& ed'                                          d#d ed(                                          d#dd) ed*                                          d#d ed+                                          d#d ed,                                          d#dd&d-Zd.eiZd/S )0ax  
Spyder default text snippets.

Notes:

1. Please preserve the structure of this dictionary. This is what
   we need to send to the snippet plugin to configure it.
2. All snippets added here need to comply with the LSP snippet grammar:
   https://microsoft.github.io/language-server-protocol/specifications/specification-current/#snippet_syntax
3. The snippets are grouped according to the text that triggers it and each
   snippet has the option to delete the trigger text if necessary.
4. Right now, the snippets are restricted to the languages supported by the LSP
   (hard-coded), this will change on future releases of Spyder.
    )dedentz
                class ${1:ClassName}:
                    def __init__(self, ${2:*args}, ${3:**kwargs}):
                        ${4:pass}$0
            F)textremove_triggerz
                class ${1:ClassName}($2):
                    def __init__(self, ${3:*args}, ${4:**kwargs}):
                        super().__init__(${5:*args}, ${6:**kwargs})$0
            )plaininheritancezt
                def ${1:method_name}(self, ${2:*args}, ${3:**kwargs}):
                    ${4:pass}$0
            zl
                def ${1:func_name}(${2:*args}, ${3:**kwargs}):
                    ${4:pass}$0
            )methodfunctionzb
                for ${1:i} in range(${2:0}, ${3:n}):
                    ${4:pass}$0
            zZ
                for ${1:x} in ${2:iterator}:
                    ${3:pass}$0
            )rangeiteratorzN
                while ${1:cond}:
                    ${2:pass}$0
            zI
                while True:
                    ${1:pass}$0
            )	conditioninfinitez3
                import ${1:package}$0
            zA
                import ${1:package} as ${2:alias}$0
            )packagealiaszD
                from ${1:package} import ${2:module}$0
            zR
                from ${1:package} import ${2:module} as ${3:alias}$0
            )importr   zr
                async def ${1:func_name}(${2:*args}, ${3:**kwargs}):
                    ${4:pass}$0
            zz
                async def ${1:method_name}(self, ${2:*args}, ${3:**kwargs}):
                    ${4:pass}$0
            z`
                async for ${1:x} in ${2:iterator}:
                    ${3:pass}$0
            )defr   forz
                try:
                    ${1:pass}
                except ${2:Exception}:
                    ${3:pass}$0
            z
                try:
                    ${1:pass}
                except ${2:Exception} as ${3:e}:
                    ${4:pass}$0
            z
                try:
                    ${1:pass}
                except ${2:Exception}:
                    ${3:pass}
                finally:
                    ${4:pass}$0
            z
                try:
                    ${1:pass}
                except ${2:Exception} as ${3:e}:
                    ${4:pass}
                finally:
                    ${5:pass}$0
            )exceptzexcept aliaszexcept/finallyzexcept alias/finallycontextz^
                with ${1:context} as ${2:alias}:
                    ${3:pass}$0
            zD
                [${1:x} for ${2:x} in ${3:iterator}]$0
            TzQ
                [${1:x} for ${2:x} in ${3:iterator} if ${4:cond}]$0
            za
                [${1:x} if ${2:cond} else ${3:other} for ${4:x} in ${5:iterator}]$0
            )comprehensioncomprehension ifzcomprehension if/elsezU
                {${1:key}:${2:value} for ${3:elem} in ${4:iterator}\}$0
            zb
                {${1:key}:${2:value} for ${3:elem} in ${4:iterator} if ${5:cond}\}$0
            )r   r   zK
                {${1:elem} for ${2:elem} in ${3:iterator}\}$0
            zX
                {${1:elem} for ${2:elem} in ${3:iterator} if ${4:cond}\}$0
            zh
                {${1:elem} if ${2:cond} else ${3:other} for ${4:elem} in ${5:iterator}\}$0
            )classr   r   whiler   fromasynctrywithlistdictsetpythonN)__doc__textwrapr   stripPYTHON_SNIPPETSSNIPPETS     6lib/python3.11/site-packages/spyder/config/snippets.py<module>r)      s          F    #
 
 F    #
 
 ( F    #
 
 F    #
 
 $ F    #
 
 F    #
 
 $ F    #
 
 F    #
 
 $ F   #	
 
 F   #	
 
   F   #	
 
 F   #	
 
   F    #
 
 F    #
 
 F    #
 
 2 F    $
 
 F   
 #
 
 F    #

 

 F    #
!
 
!
=) )V 	F    #
 
 F   "	
 
 F   "	
 
 F   "	"
 "
 , F   "	
 
 F   "	
 
   F   "	
 
 F   "	
 
 F   "	"
 "
 W_ _D or'   