Skip to content

Commit 3a99bec

Browse files
committed
Fix object oriented f string
1 parent 1219c1a commit 3a99bec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ch05construction/08objects.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@
380380
"\n",
381381
" @property\n",
382382
" def name(self):\n",
383-
" return f\"{self._first self._second}\"\n",
383+
" return f\"{self._first} {self._second}\"\n",
384384
"\n",
385385
"assert(Person().name == \"Graham Chapman\")\n",
386386
" "

0 commit comments

Comments
 (0)