Problem with Mesh Function

Dear all,
I am trying to solve a Poisson equation with different boundary conditions by creating a different subdomain for each boundary. It’s a problem in the tutorial.
I ran the same code given in the tutorial but getting this error.
‘MeshFunction type not recognized’
I think this command is outdated. Please tell me what I can type instead of this.
And also where can I find substitutes for outdated commands like this.

I am attaching the code and error snapshot here.

from dolfin import *
import numpy

#-------------- Preprocessing step -----------------

Create mesh and define function space

mesh = UnitSquareMesh(3, 2)
V = FunctionSpace(mesh, ‘Lagrange’, 1)

Define boundary segments for Neumann, Robin and Dirichlet conditions

Create mesh function over cell facets

boundary_parts = MeshFunction(“uint”, mesh, mesh.topology().dim()-1)

Replace "uint" with "int" or "size_t".
For further questions, I would suggest the following:

  1. Link to the tutorial you are referring to
  2. Format the code using 3x` encapsulation

In general, changes can be found in the Changelog: Bitbucket
And as you can see there, it says:

2016.1.0 [2016-06-23]

    Remove support for 'uint'-valued MeshFunction (replaced by 'size_t')

Ok, sir, I will do it.
Thanks.