[DOCS] Fix bind-attr example code
Merge pull request #9848 from knownasilya/patch-2

[DOCS] Fix bind-attr example code