class_docstr: Abstract base class for Python RL environments.
class_docstr_tok: ["Abstract","base","class","for","Python","RL","environments","."]
docstr: Frees any resources used by the environment.
  
  Implement this method for an environment backed by an external process.
  
  This method be used directly
  
  ```python
  env = Env(...)
  # Use env.
  env.close()
  ```
  
  or via a context manager
  
  ```python
  with Env(...) as env:
    # Use env.
  ```
docstr_tok: ["Frees","any","resources","used","by","the","environment",".","Implement","this","method","for","an","environment","backed","by","an","external","process",".","This","method","be","used","directly","``","`","python","env","=","Env","(","...",")","#","Use","env",".","env.close","(",")","``","`","or","via","a","context","manager","``","`","python","with","Env","(","...",")","as","env",":","#","Use","env",".","``","`"]
code: def close(self):
      """Frees any resources used by the environment.
  
      Implement this method for an environment backed by an external process.
  
      This method be used directly
  
      ```python
      env = Env(...)
      # Use env.
      env.close()
      ```
  
      or via a context manager
  
      ```python
      with Env(...) as env:
        # Use env.
      ```
      """
      pass
  
file_path: pysc2/pysc2/env/environment.py
imports: import abc
  import collections
  import enum
label_desc: Use image node_id 5 for calling the Base obj's underlying member method code with example usage: obj.close() without return types