# PyCall, pycall on python object that overloads \_\_call\_\_

**URL:** https://discourse.julialang.org/t/pycall-pycall-on-python-object-that-overloads---call--/3746
**Category:** General Usage
**Tags:** pycall
**Created:** [May 16, 2017, 1:08pm UTC](https://discourse.julialang.org/t/pycall-pycall-on-python-object-that-overloads---call--/3746 "2017-05-16T13:08:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ndbecker](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ndbecker/32/10829_2.png) [@ndbecker](https://discourse.julialang.org/u/ndbecker)
#### Post date: [May 16, 2017, 1:08pm UTC](https://discourse.julialang.org/t/pycall-pycall-on-python-object-that-overloads---call--/3746/1 "2017-05-16T13:08:40Z")

</div>

Can I use pycall to call a python object that overloads the **call** member? It doesn’t seem to work.

---

<div class="post-metadata">

### Author: ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)
#### Post date: [May 16, 2017, 1:13pm UTC](https://discourse.julialang.org/t/pycall-pycall-on-python-object-that-overloads---call--/3746/2 "2017-05-16T13:13:14Z")

</div>

It should work. Make sure that you actually have the Python object, not not the Julia conversion thereof.

(e.g. if you have a module `foo = pyimport("....")`, then do `foo["member"]` rather than `foo[:member]` to suppress the automatic conversion to Julia.)
