The classical identity that relates Eulerian polynomials to tangent numbers together with the parallel result dealing with secant numbers is given a g-extension, both analytically and combinatorially.