Skip to main content
U.S. flag

An official website of the United States government

Here’s how you know

Official government website icon

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

icon-https

Secure .gov websites use HTTPS
A lock ( Lock Locked padlock icon )or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

NIH: National Institute of Diabetes and Digestive and Kidney Diseases NIH: National Institute of Diabetes and Digestive and Kidney Diseases
bit Xplor-NIH VMD-XPLOR
Pydoc: module potProxy
 
potProxy
index


 
# from http://code.activestate.com/recipes/496741-object-proxying/

 
Classes
       
builtins.object
PotProxy

 
class PotProxy(builtins.object)
    PotProxy(obj, *args, **kwargs)
 

 
  Methods defined here:
__bool__(self)
__del__(self)
__delattr__(self, name)
Implement delattr(self, name).
__getattr__(self, name)
# proxying (special cases)
__getitem__(self, index)
__getslice__(self, i, j)
__init__(self, obj)
Initialize self.  See help(type(self)) for accurate signature.
__len__(self)
#these methods are not class methods (like calcEnergy, below)-
# only of Pots, only PotList objects have these methods, so
# we add them specially.
__repr__(self)
Return repr(self).
__setattr__(self, name, value)
Implement setattr(self, name, value).
__str__(self)
Return str(self).

Static methods defined here:
__new__(cls, obj, *args, **kwargs)
creates an proxy instance referencing `obj`. (obj, *args, **kwargs) are
passed to this class' __init__, so deriving classes can define an 
__init__ method of their own.
note: _class_proxy_cache is unique per deriving class (each deriving
class must hold its own cache)

Data descriptors defined here:
__weakref__

 
list of weak references to the object (if defined)
  • Privacy Policy
  • Freedom of Information Act
  • Accessibility
  • Disclaimers
  • Copyright
  • Vulnerability Disclosure Policy
  • U.S. Department of Health and Human Services
  • National Institutes of Health