Skip to content

Commit 734a8a2

Browse files
Update main.py
Co-Authored-By: Carrington <215159144+carrington-cs@users.noreply.github.com>
1 parent 03795b2 commit 734a8a2

File tree

1 file changed

+3
-2
lines changed
  • examples/with-unittest/library_management_system

1 file changed

+3
-2
lines changed

examples/with-unittest/library_management_system/main.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,6 @@ def __str__(self):
5555
return f"ReadingMaterialUnit({self.title=}, {self.author=}, {self.isbn=})"
5656

5757
reading_material_unit = ReadingMaterialUnit("New Maths", "author", "isbn", "year_published")
58-
59-
print(reading_material_unit)
58+
reading_material_unit_2 = reading_material_unit
59+
print(hex(id(reading_material_unit)))
60+
print(hex(id(reading_material_unit_2)))

0 commit comments

Comments
 (0)