Provided are a bending part (21) of an endoscope (20), and the endoscope (20). The bending part (21) of the endoscope (20) comprises multiple bending blocks (10), which are connected in sequence, wherein two adjacent bending blocks (10) are connected by means of a connecting part (11), the connecting part (11) comprises a groove (12) and a bulge (13), the bulge (13) is rotatably received in the groove (12), and end faces of the bending block (10) are respectively provided with an abutting surface (14) on two sides of the connecting part (11). The bulge (13) rotates in a relative manner to the maximum angle in the groove (12), and the abutting surfaces (14) of the two adjacent bending blocks (10) abut against each other, such that the two bending blocks (10) form the maximum bending angle therebetween and are in a locked state. The two sides of the groove (12) are provided with locking parts (122), two sides of the bulge (13) are provided with sliding slots (131) matching the locking parts (122), the locking parts (122) can slide along the sliding slots (131), an open end (120) of the sliding slot (131) is provided with a limiting part (132), and the locking parts (122) can be clamped and stopped by the limiting parts (132), such that the locking parts (122) are limited in the sliding slots (131). The angle corresponding to an arc-shaped sliding track of the locking parts (122) along the sliding slots (131) is greater than or equal to the maximum angle of rotation of the bulge (13) relative to the groove (12). The bending part (21) of the endoscope (21) can maintain a stable connection between two bending blocks (10).L'invention concerne une partie flexible (21) d'un endoscope (20), et l'endoscope (20). La partie flexible (21) de l'endoscope (20) comprend de multiples blocs de flexion (10) qui sont reliés en séquence, deux blocs de flexion adjacents (10) étant reliés au moyen d'une partie de connexion (11), la partie de connexion (11) comprenant une rainure (12) et u