Apply Python 3 futurize transform libmodernize.fixes.fix_filter.
This commit is contained in:
		
							parent
							
								
									abd939f16d
								
							
						
					
					
						commit
						ec5103191e
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -65,8 +65,8 @@ def generate_support_stats(): | ||||||
| 
 | 
 | ||||||
|     if True: |     if True: | ||||||
|         words = word_count.keys() |         words = word_count.keys() | ||||||
|         words = filter(lambda w: word_count[w] >= 10, words) |         words = [w for w in words if word_count[w] >= 10] | ||||||
|         words = filter(lambda w: len(w) >= 5, words) |         words = [w for w in words if len(w) >= 5] | ||||||
|         words = sorted(words, key=lambda w: word_count[w], reverse=True) |         words = sorted(words, key=lambda w: word_count[w], reverse=True) | ||||||
|         for word in words: |         for word in words: | ||||||
|             print(word, word_count[word]) |             print(word, word_count[word]) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tim Abbott
						Tim Abbott