mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-11-03 23:12:56 +00:00 
			
		
		
		
	Remove Reaction.users "Python 3.4 usage" section
Remove nonsensical "Python 3.4" usage section from Reaction.users().
Left behind from f25091ef.
			
			
This commit is contained in:
		@@ -129,17 +129,6 @@ class Reaction:
 | 
				
			|||||||
            winner = random.choice(users)
 | 
					            winner = random.choice(users)
 | 
				
			||||||
            await channel.send('{} has won the raffle.'.format(winner))
 | 
					            await channel.send('{} has won the raffle.'.format(winner))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        Python 3.4 Usage ::
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            iterator = reaction.users()
 | 
					 | 
				
			||||||
            while True:
 | 
					 | 
				
			||||||
                try:
 | 
					 | 
				
			||||||
                    user = await iterator.next()
 | 
					 | 
				
			||||||
                except discord.NoMoreItems:
 | 
					 | 
				
			||||||
                    break
 | 
					 | 
				
			||||||
                else:
 | 
					 | 
				
			||||||
                    await channel.send('{0} has reacted with {1.emoji}!'.format(user, reaction))
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        Yields
 | 
					        Yields
 | 
				
			||||||
        --------
 | 
					        --------
 | 
				
			||||||
        Union[:class:`User`, :class:`Member`]
 | 
					        Union[:class:`User`, :class:`Member`]
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user