Skip to content

Commit

Permalink
[#76] Remove * operator from single args
Browse files Browse the repository at this point in the history
  • Loading branch information
meatballs committed May 12, 2017
1 parent d1326e8 commit 33ecc7b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/tutorial/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:])

Expand All @@ -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
Expand Down

0 comments on commit 33ecc7b

Please sign in to comment.