Skip to content

Commit e1b8163

Browse files
paololazzarivladvildanovpetyaslavova
authored
Fix Incorrect markdown formatting for example in connection_examples.ipynb (#3504)
Co-authored-by: Vladyslav Vildanov <[email protected]> Co-authored-by: petyaslavova <[email protected]>
1 parent b8a0503 commit e1b8163

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

Diff for: docs/examples/connection_examples.ipynb

+17-4
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,26 @@
7575
]
7676
},
7777
{
78-
"cell_type": "markdown",
78+
"cell_type": "code",
79+
"execution_count": 4,
7980
"metadata": {},
81+
"outputs": [
82+
{
83+
"data": {
84+
"text/plain": [
85+
"True"
86+
]
87+
},
88+
"execution_count": 4,
89+
"metadata": {},
90+
"output_type": "execute_result"
91+
}
92+
],
8093
"source": [
8194
"import redis\n",
8295
"\n",
8396
"r = redis.Redis(protocol=3)\n",
84-
"rcon.ping()"
97+
"r.ping()"
8598
]
8699
},
87100
{
@@ -93,7 +106,7 @@
93106
},
94107
{
95108
"cell_type": "code",
96-
"execution_count": 4,
109+
"execution_count": 5,
97110
"metadata": {},
98111
"outputs": [
99112
{
@@ -102,7 +115,7 @@
102115
"True"
103116
]
104117
},
105-
"execution_count": 4,
118+
"execution_count": 5,
106119
"metadata": {},
107120
"output_type": "execute_result"
108121
}

0 commit comments

Comments
 (0)