bike-barn / red-green-refactor

A very simple calculator designed to teach software testing.
ISC License
4 stars 2 forks source link

Assignment One Feedback Issues #18

Closed rawrgulmuffins closed 8 years ago

rawrgulmuffins commented 8 years ago
# Rabbit Hole:
# Python is kind of interesting in that there's a number of built in functions like `str()` and   
# `next()`, `help()` that implicitly call what are called "Magic method." These are methods in a 
# class which have special names associated with Python's builtin functions. 

# An example of this is that the `str()` function calls the `__str__()` method of an object.
# >>> str(1)
# '1' 
# >>> a = 1
# >>> a.__str__() # str(1) is equivalent to a.__str__()
# '1'
rawrgulmuffins commented 8 years ago

closed with #23