python-mastery icon indicating copy to clipboard operation
python-mastery copied to clipboard

Update ex5_6.md to fix NameError in example code

Open jarlethorsen opened this issue 1 year ago • 0 comments

Calling Stock() directly without providing the name of the module will result in the following error:

NameError: name 'Stock' is not defined

This fixes the bug in the example code.

jarlethorsen avatar Oct 23 '23 10:10 jarlethorsen