Problem with tabulate_dof_coordinates() (poitional arguments wrong)?

I am new here. I am trying to extract data as a text file, from a slightly modified version of the linear elastic beam tutorial. Tutorial runs fine. But. As a simplified example of the problem.
I am running a conda installation of fenics-dolfin (v 2019.1.0)
And if I run

from dolfin import *
mesh = UnitSquareMesh(1,1)
V = VectorFunctionSpace(mesh, ‘Lagrange’, 1)
x = V.tabulate_dof_coordinates(mesh)

Then I get the error
x = V.tabulate_dof_coordinates(mesh)
TypeError: FunctionSpace.tabulate_dof_coordinates() takes 1 positional argument but 2 were given

This is strange. I find no other reports of this error. Were it a module I defined, I would add a “self” to it and it would be fine. The documentation for tabulate_dof_coordinates() also states it invokes “self”. Can someone please explain what is going on? Is this actually a bug?


This should be
x = V.tabulate_dof_coordinates()


Thank you! That will probably cure everything!