Dear experts,
this is what I get in ROOT 5.32
import ROOT
x = ROOT.RooRealVar("x", "x", -10, 10)
ws = ROOT.RooWorkspace("ws")
import_ws = getattr(ws, "import")
import_ws(x)
ws.Print()
RooWorkspace(ws) ws contents
variables
---------
(x)
and this is the result with ROOT 6.02/10
RooWorkspace(ws) ws contents
generic objects
---------------
RooRealVar::