method-wrapper?



Hi,

Within Python (2.5):

help("__str__")
Help on method-wrapper object:
__str__ = class method-wrapper(object)
| Methods defined here:
|
| __call__(...)
| x.__call__(...) <==> x(...)
|
| __cmp__(...)
| x.__cmp__(y) <==> cmp(x,y)
[...]

What is "method-wrapper"? Google turns up hardly any hits, same with
searching python.org.

Thanks,
Andrew
.



Relevant Pages

  • Re: Whats with the @ sign
    ... I had no clue what that was (and searching for @ in the context of ... python was returning hundreds of thousands of hits XD) ...
    (comp.lang.python)
  • Re: Defining Range for Find or Setting A Counter Variable
    ... I then want the total hits to be inserted> at the bottom of the document so I can later convert them to a table. ... > So, either I'm defining the selected range for the sections wrong and it's> searching the whole document, then the whole document minus the first ... > Dim MySections As Section ...
    (microsoft.public.word.vba.beginners)
  • Re: Any fancy grep utility replacements out there?
    ... So I figured I'd find a fancy next generation grep tool. ... Oddities of this particular script are support for searching for ... Python tokens in .py files, doctests, doctest files, and preppy 2 ... tokenizing based on a simple fixed "word boundary" rule ...
    (comp.lang.python)
  • Re: Finding location of an executable in a windows machine?
    ... Do you actually need the path, or do you just want the program to run as though you had entered it at a command prompt? ... But realize that the shell also looks in a few places not on the path, including at least current directory and windows directory. ... But searching the drives raw is rarely a good idea, as it's quite likely there's a duplicate filename out there somewhere, and you want a deterministic algorithm for which one will run. ... If you need help on a specific python command, you'd also need to tell us what version of Python you're using. ...
    (comp.lang.python)
  • Re: metaclass and customization with parameters
    ... >>Notice that there already valuable resources on this stuff. ... after several minutes of searching on www.python.org ... and that also knows what metaclasses are good for. ... > by many newcomers to Python. ...
    (comp.lang.python)