Skip to content

Commit

Permalink
Merge pull request #333 from conradho/patch-1
Browse files Browse the repository at this point in the history
Fix code comment location
  • Loading branch information
hjwp authored Mar 4, 2022
2 parents 76c8448 + 190b5f1 commit 630cf79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chapter_01_domain_model.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,8 @@ class Batch:
self.eta = eta
self.available_quantity = qty
def allocate(self, line: OrderLine):
self.available_quantity -= line.qty #<3>
def allocate(self, line: OrderLine): #<3>
self.available_quantity -= line.qty
----
====

Expand Down

0 comments on commit 630cf79

Please sign in to comment.