Adding support for set and frozenset objects #437
              
                
                  
                  
                    Answered
                  
                  by
                    pyscripter
                  
              
          
                  
                    
                      oleg-oleinik
                    
                  
                
                  asked this question in
                Q&A
              
            -
| 
         Hello,  | 
  
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            pyscripter
          
      
      
        Oct 18, 2023 
      
    
    Replies: 2 comments 1 reply
-
| 
         You can manipulate them using the sequence api. PySet := VarPythonEval('set("abc")');
for var member in VarPyIterate(PySet) do
  WriteLn(member);
if PySet.Contains("a") then
  Writeln('PySet contains "a"); | 
  
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
      Answer selected by
        oleg-oleinik
-
| 
         I have turned this into an issue #438 so that the python set C-API will be added.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
You can manipulate them using the sequence api.
For instance using VarPyth: