3

When creating new nodes such as nodes.title, one needs to provide two strings:

  1. rawsource
  2. text

Often I see this:

nodes.title('foobar', 'foobar', ids=[id])

Or sometime...

nodes.target('', '')

I don't understand why this repetition, and why it is useful to have or not have twice the same value.

nowox
  • 25,978
  • 39
  • 143
  • 293

0 Answers0