Skip to content

Commit

Permalink
Merge pull request #40 from kirstengott/master
Browse files Browse the repository at this point in the history
Adding a note to classes
  • Loading branch information
srobb1 authored Oct 21, 2019
2 parents 77dfe13 + dd0a2f1 commit e446600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pfb.md
Original file line number Diff line number Diff line change
Expand Up @@ -5053,7 +5053,7 @@ Here is our new class definition and new object creation when using the __\_\_i
class DNARecord(object):
# define class attributes
def __init__(self, sequence, gene_name, species_name):
def __init__(self, sequence, gene_name, species_name): ## note that '__init__' is wrapped with two underscores
#sequence = 'ACGTAGCTGACGATC'
#gene_name = 'ABC1'
#species_name = 'Drosophila melanogaster'
Expand Down

0 comments on commit e446600

Please sign in to comment.