readabilite: remove unneeded reference to features (overriden by builder)
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		@@ -30,7 +30,7 @@ class CustomTreeBuilder(bs4.builder._lxml.LXMLTreeBuilder):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
def parse(data, encoding=None):
 | 
					def parse(data, encoding=None):
 | 
				
			||||||
    kwargs = {'from_encoding': encoding} if encoding else {}
 | 
					    kwargs = {'from_encoding': encoding} if encoding else {}
 | 
				
			||||||
    return lxml.html.soupparser.fromstring(data, features='lxml', builder=CustomTreeBuilder, **kwargs)
 | 
					    return lxml.html.soupparser.fromstring(data, builder=CustomTreeBuilder, **kwargs)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def count_words(string):
 | 
					def count_words(string):
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user