Ignore:
Timestamp:
02/07/12 18:14:08 (2 years ago)
Author:
markotoplak
Branch:
default
rebase_source:
dcc1bddbbae14a1e234a7d18a813ea0fb1d2bb93
Message:

moved new_meta_ide from feature to feature.Descriptor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/Orange.data.instance.rst

    r9929 r9936  
    5353attributes. Meta attributes are hence not addressed by positions, 
    5454but by their id's, which are represented by negative indices. Id's are 
    55 generated by function :obj:`Orange.feature.new_meta_id()`. Id's can 
     55generated by function :obj:`Orange.feature.Descriptor.new_meta_id()`. Id's can 
    5656be reused for multiple domains. 
    5757 
     
    126126 
    127127    ok = orange.EnumVariable("ok?", values=["no", "yes"]) 
    128     ok_id = Orange.feature.new_meta_id() 
     128    ok_id = Orange.feature.Descriptor.new_meta_id() 
    129129    data.domain.addmeta(ok_id, ok) 
    130130    data[0][ok_id] = "yes" 
Note: See TracChangeset for help on using the changeset viewer.