Changeset 10144:7d0b1031220a in orange


Ignore:
Timestamp:
02/08/12 22:24:56 (2 years ago)
Author:
ales_erjavec
Branch:
default
rebase_source:
89cc47a2b244b615f239c8b8016a42b6b449c4cb
Message:

Added docstring to deprecated_class_attribute

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/misc/__init__.py

    r10079 r10144  
    845845             
    846846def deprecated_class_attribute(old_name, new_name): 
     847    """ Return a property object that accesses an class attribute 
     848    named `new_name` and raises a deprecation warning when doing so. 
     849     
     850    """ 
    847851    if environ.orange_no_deprecated_members: 
    848852        return None 
Note: See TracChangeset for help on using the changeset viewer.