From 9cc43b7424da71928aca64e1e105c0a5652c86c4 Mon Sep 17 00:00:00 2001 From: Worros Date: Sat, 21 Aug 2010 17:35:32 +0800 Subject: [PATCH] HHC: doco for readAnte and readBlind --- pyfpdb/HandHistoryConverter.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pyfpdb/HandHistoryConverter.py b/pyfpdb/HandHistoryConverter.py index 7169b668..bf497b32 100644 --- a/pyfpdb/HandHistoryConverter.py +++ b/pyfpdb/HandHistoryConverter.py @@ -414,7 +414,16 @@ or None if we fail to get the info """ # ['player1name', 'player2name', ...] where player1name is the sb and player2name is bb, # addtional players are assumed to post a bb oop def readBlinds(self, hand): abstract + """Function for reading the various blinds from the hand history. + + Pass any small blind to hand.addBlind(, "small blind", ) + - unless it is a single dead small blind then use: + hand.addBlind(, 'secondsb', ) + Pass any big blind to hand.addBlind(, "big blind", ) + Pass any play posting both big and small blinds to hand.addBlind(, 'both', ) + """ def readAntes(self, hand): abstract + """Function for reading the antes from the hand history and passing the hand.addAnte""" def readBringIn(self, hand): abstract def readButton(self, hand): abstract def readHeroCards(self, hand): abstract