blueloveTH преди 2 години
родител
ревизия
645fcf1c32
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      docs/bindings.md

+ 1 - 1
docs/bindings.md

@@ -199,7 +199,7 @@ vm->bind__add__(vm->tp_int, f_add);
 
 
 This specialized binding function has optimizations and result in better performance when calling from python code.
 This specialized binding function has optimizations and result in better performance when calling from python code.
 
 
-For example, `vm->bind__add__` is preferred over `vm->bind_method<1>(type, "__add__", ...)`.
+For example, `vm->bind__add__` is preferred over `vm->bind_func(type, "__add__", 2, f_add)`.
 
 
 
 
 ## Automatic bindings
 ## Automatic bindings