mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 19:34:08 +00:00 
			
		
		
		
	(imenu-example--python-method-regexp): Patch from Christian Tanzer:
"3.67 fixes Imenu as far as classes are concerned, but some default values for function arguments are still not supported." This ought to fix that problem.
This commit is contained in:
		
							parent
							
								
									12c9294ea3
								
							
						
					
					
						commit
						650e8a6db2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -778,7 +778,7 @@ package.  Note that the latest X/Emacs releases contain this package.")
 | 
				
			||||||
   "\\(def[ \t]+"                       ; function definitions start with def
 | 
					   "\\(def[ \t]+"                       ; function definitions start with def
 | 
				
			||||||
   "\\([a-zA-Z0-9_]+\\)"                ;   name is here
 | 
					   "\\([a-zA-Z0-9_]+\\)"                ;   name is here
 | 
				
			||||||
					;   function arguments...
 | 
										;   function arguments...
 | 
				
			||||||
   "[ \t]*(\\([a-zA-Z0-9_=,\* \t\n]*\\))"
 | 
					   "[ \t]*(\\([-+/a-zA-Z0-9_=,\* \t\n.()\"'#]*\\))"
 | 
				
			||||||
   "\\)"                                ; end of def
 | 
					   "\\)"                                ; end of def
 | 
				
			||||||
   "[ \t]*:"                            ; and then the :
 | 
					   "[ \t]*:"                            ; and then the :
 | 
				
			||||||
   "\\)"                                ; >>methods and functions<<
 | 
					   "\\)"                                ; >>methods and functions<<
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue