serge-sans-paille / beniget

Extract semantic information about static Python code
BSD 3-Clause "New" or "Revised" License
69 stars 21 forks source link

Change naming scheme of Def.name() for nodes without a name. #100

Closed tristanlatr closed 4 months ago

tristanlatr commented 4 months ago

Now use f'<{type(self.node).__name__}>'.

Fixes #98

serge-sans-paille commented 4 months ago

Thanks! Can you rebase on master and squash the commits? Also it turns out it feels a bit odd to me to loose the CamelCase of the type names, what do you think of f'<{type(self.node).name}>'? It's also faster ;-)

tristanlatr commented 4 months ago

Done @serge-sans-paille. You can squash the commits via the github UI. Thanks

serge-sans-paille commented 4 months ago

I love that change, thanks!