Update dup.py

Updated comments to reflect code