{
  "id": 19842446,
  "title": "Positional-Only Arguments",
  "url": "https://urgent.news/2026/11/13/positional-only-arguments",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-13T17:56:30.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/yugav/positional-only-arguments-c0e"
  },
  "original_language": "en",
  "account": null,
  "summary": "The / symbol is used to make parameters positional-only. We must pass values based on their position. We cannot use keyword arguments. Example: def calculate(a, b, /): print(a + b) calculate(10, 20) Output: 30 Here: / is a positional-only separator. We must pass arguments by position. calculate(a=10, b=20) This gives a TypeError because keyword arguments are not allowed for these parameters.",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}