From 33ecc7b732b1692fb08a6835d627676bf98a2a51 Mon Sep 17 00:00:00 2001 From: Owen Campbell Date: Fri, 12 May 2017 16:43:32 +0100 Subject: [PATCH] [#76] Remove * operator from single args --- docs/tutorial/index.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/tutorial/index.rst b/docs/tutorial/index.rst index 8c8dcc5..d3db103 100644 --- a/docs/tutorial/index.rst +++ b/docs/tutorial/index.rst @@ -345,8 +345,8 @@ As you can see, we have set all unavailabilities to be empty however has informed us that they are not present on the first day. We can include these constraints:: - >>> events[0].add_unavailability(*chair_slots[4]) - >>> events[1].add_unavailability(*chair_slots[4]) + >>> events[0].add_unavailability(chair_slots[4]) + >>> events[1].add_unavailability(chair_slots[4]) >>> events[2].add_unavailability(*chair_slots[4:]) >>> events[3].add_unavailability(*chair_slots[4:]) @@ -367,9 +367,9 @@ Now let us get the chair schedule:: Chair A-2 chairing 15-Sep-2016 09:30 in Big Chair B-1 chairing 15-Sep-2016 09:30 in Small Chair B-2 chairing 15-Sep-2016 12:30 in Small - Chair D-2 chairing 15-Sep-2016 12:30 in Big - Chair A-1 chairing 16-Sep-2016 12:30 in Big - Chair C-1 chairing 16-Sep-2016 12:30 in Small + Chair C-1 chairing 15-Sep-2016 12:30 in Big + Chair A-1 chairing 16-Sep-2016 12:30 in Small + Chair D-2 chairing 16-Sep-2016 12:30 in Big Validating a schedule