boglehead/portfolio.py
def initialize_fund_values(self, value):
        """Assign value to specific funds according to the specified
        proportions.
        """
        # Without loss of generality, can effectively own a single unit of each
        # fund.
        #
        # TODO: This will not be true if we separately split out dividends as
        # dividends are generally handed out on a quarterly basis
        for fund, proportion in zip(self.funds, self.proportions):
            fund.units = 1.0
            fund.price = value * proportion / fund.units
Assign value to specific funds according to the specified
        proportions.
        
Assign value to specific funds according to the specified
proportions.
Assign value to specific funds according to the specified proportions .
def initialize_fund_values(self, value):
         TODO: This will not be true if we separately split out dividends as
         dividends are generally handed out on a quarterly basis
        for fund, proportion in zip(self.funds, self.proportions):
            fund.units = 1.0
            fund.price = value * proportion / fund.units
def initialize_fund_values ( self , value ) : for fund , proportion in zip ( self . funds , self . proportions ) : fund . units = 1.0 fund . price = value * proportion / fund . units
Assign value to specific funds according to the specified
proportions.
Assign value to specific funds according to the specified proportions .
"""Assign value to specific funds according to the specified
        proportions.
        """ # Without loss of generality, can effectively own a single unit of each # fund. # # TODO: This will not be true if we separately split out dividends as # dividends are generally handed out on a quarterly basis
self
value