TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How Does Git Know What a Python Function/Class Definition Looks Like?

34 pointsby giladalmost 5 years ago

3 comments

simonwalmost 5 years ago
I really like the "TIL" format. I tweeted this a few weeks ago and it seemed to have really resonated with people.
doublesCsalmost 5 years ago
Very thin content. There were really only two options: regex or parser. This is close to "You won't believe what happened next" level of content.
im3w1lalmost 5 years ago
So uhm, what happens if someone puts class Datasette: in a multiline string?
评论 #23598551 未加载