Changeset 49d2308 in sasmodels


Ignore:
Timestamp:
Apr 8, 2016 6:58:34 PM (9 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
f6029fd
Parents:
e62a134
Message:

type hint before docstr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/modelinfo.py

    re62a134 r49d2308  
    6969def parse_parameter(name, units='', default=np.NaN, 
    7070                    limits=(-np.inf, np.inf), ptype='', description=''): 
     71    # type: (str, str, float, LimitsOrChoice, str, str) -> Parameter 
    7172    """ 
    7273    Parse an individual parameter from the parameter definition block. 
     
    7576    to early failure in the model loading process and easier debugging. 
    7677    """ 
    77     # type: (str, str, float, LimitsOrChoice, str, str) -> Parameter 
    7878    # Parameter is a user facing class.  Do robust type checking. 
    7979    if not isstr(name): 
Note: See TracChangeset for help on using the changeset viewer.